IEEE 754 32 bit Hexadecimal to decimal conversion
843785Jul 18 2008 — edited Jul 18 2008Hi,
I have an interesting problem at hand to convert IEEE 754 32 bit Hexadecimal to decimal. For example if i have 48C35000 in Hexadecimal format need to convert it to decimal which will have a resulting value of 400000.0, so on and so forth.
I have this nice applet that does the conversion for me http://www.h-schmidt.net/FloatApplet/IEEE754.html. Some more information regardring IEEE 754 formats at http://en.wikipedia.org/wiki/IEEE_754
However i need to code this and include it in my application where i will receive the value of 48C35000 from a sensor and need to display 400000.0 on the UI. Please help with any suggestions/ideas or pointers to code snippets.
Thank you for your time.