Announcement

Collapse
No announcement yet.

Float binary format

Collapse
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • Float binary format

    Hi.

    I will like to know how is the internal float format.
    I am sending a float over a network communication to a Windows PC. I receive the float in 32 bit format, but it seems not to be in a standard format. I need to translate to a windows float.
    Can anyone help me ?
    Thanks.

  • #2
    I have found the solution..

    In windows 4.7 float is in hex 96 40 66 66
    In 4D is 40 96 66 66
    So to translate you need to change byte order:
    Windows: 1 2 3 4
    4d: 2 1 4 3

    ¿ Ok ?

    Comment

Working...
X