Hi,

I know the very basics of C, however I'm having some trouble dealing with floats and converting values. I want my program to read a signed 16-bit integer and save the value as a 32-bit float in hexadecimal. Here is an example of what I need:

Input a value: 2000
32-bit float for this value equals 0x44FA0000

Input a value: -2000
32-bit float for this value equals C4FA0000

And also the opposite:

Input a float (in hex): 44FA0000
The decimal value for this is 2000.

So far my programs only did very simple operations, so I'm not sure how to deal with this. Can someone please shed some light or point to me some reference on what kind of functions/libs I need for this?