I want to convert the hex float value in memory into decimal,such as 42F94000H=124.75,which 42F94000H is the hex value,and how can I implement the decimal 124.75 using program,or other cases?
How about the following:
float f; *((unsigned long *) &f) = 0x42F94000;