This simple test program:
float f1, f2;
f1 = atof\("0.123456789"\); f2 = 0.123456789; ClearScreen\(\); NumOut\(0, LCD\_LINE1, f1\); NumOut\(0, LCD\_LINE2, f2\); Wait\(3000\);;
gives this output on the bricks' screen:
So it seems that only 4 of the decimal digits are used. The NXC help says that a float variable is of 32-bit IEEE 754 single precision, which should provide about 7 decimal digits. But -- where are those decimal digits in my example above?