I'm looking to convert a 4 byte hex string in the IEEE 754 format to its floating point decimal value in MikroBasic.
Does anyone have a library function already made for this?
For example; 0x3E200000 would convert to 0.15625
I believe that MikroC has this functionality built in, but I can't find it in MikroBasic.
If no one has it, I'll have to put my thinking cap on.
Here are some pages that explain the complexities:https://www.h-schmidt.net/FloatConverter/IEEE754.htmlhttp://teaching.idallen.com/cst8281/10w ... rsions.txthttps://techdocs.altium.com/display/FPG ... Aodg80EaQ#
Regards to all,