I have a program that printf a float that is returned by a function like this:


printf("%3.1f\n", myfloat());
...
float myfloat(void) {
code....
}