how to convert byte array to float?

  • Thread starter Thread starter assaf
  • Start date Start date
A

assaf

hi all

i am looking for something like:
BitConvertor.ToFloat();

but all i can find is:
BitConvertor.ToDouble();

how can i convert my byte array to float?


assaf
 
assaf said:
i am looking for something like:
BitConvertor.ToFloat();

but all i can find is:
BitConvertor.ToDouble();

how can i convert my byte array to float?

Using BitConverter.ToSingle. (float is just a shorthand for
System.Single.)
 
Back
Top