I dont know if I'm just having a memory glitch, but the printf format for float is not working as I expect it to.
This example:
#include <stdio.h>
int main()
{
float value;
for(value = 9.990 ;value <= 10.01;value += 0.001)
printf("%02.04f\n", value);
return(0);
}
produces the...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.