|
Re: printing FLOAT data type on the terminal window
I looked at the source for the libraries last year and float data type is not included in the vfprinf routine, the code behind printf. Your best bet is to multiply your float by 100 or 1000 depending on how many deicmals you want put the result in a long and printf the result. Aviod floats whenever possible!
|