So I cant calculate a number that involves a decimal point?
Is there anyway of including a header file to allow the calculation?
It seems hard to believe that a cortex m3 based mcu cant calculate a floating point number?
It's not a matter of importing libraries, the processor, architecturally, doesn't have the capability to deal with floating point vals.
Any decimals passed into an int will take on the value of the int chopped at the decimal point. Unless you're trying to do some heavy DSP, this shouldn't prove detrimental to work around.