in reply to Problem with numbers..

Another good "workaround" is to use "printf" instead of "print":
for ( $i=0; $i<=10; $i+=0.1 ) { printf( "%3.1f\n", $i ); }
That "does the right thing": it prints the results with the appropriate amount of precision.