I'm trying to learn how to convert Little Endian single string floating point to decimal. Everything i have found on the internet just points towards using programs, but i need to do it using maths with no calculator.
Without any information to go on the only thing that i've found that seems to work is this -
- Convert Little Endian to Big Endian
- Convert the hex into binary
- Convert binary to decimal
- Move the decimal point
For example -
To convert 10 B1 07 B4 to decimal
To Big Endian = B4 07 B1 10
Into binary = 10110100000001111011000100010000
Into decimal = 3020402960
move decimal point = 3.020402960 x 10^9
Is it a simple as that??
Can anyone confirm this for me??