If this is your first visit, be sure to
check out the FAQ by clicking the
link above. You may have to register
before you can post: click the register link above to proceed. To start viewing messages,
select the forum that you want to visit from the selection below.

But as I said, it would be better to use a DataInputStream and readFloat()
to create the value in the first place. And the same is true for integers.

PC2

"madhusudhan" <madhu_sri@indya.com> wrote in message
news:3b0cd07a$1@news.devx.com...
>
> Hi All,
> I have a byte array of size 4 whuch should be converted to its float
value.
> I am able to this kind of conversion (byte array) to integer primitive
but
>
> its difficult to apply the samme..
> Thanx in adv,
> madhu
>
>

Re: Conversion from byte array to float.

Hi

How does the decimal portion is stored in the byte array of size 4

"madhusudhan" <madhu_sri@indya.com> wrote:
>
>Hi All,
> I have a byte array of size 4 whuch should be converted to its float value.
> I am able to this kind of conversion (byte array) to integer primitive
but
>
>its difficult to apply the samme..
>Thanx in adv,
>madhu
>
>