in reply to Re: reducing numbersin thread reducing numbers
print OUTFILE sprintf("%.3f", $number); [download]
Works ok for me, though you would be better off using printf.
printf( OUTFILE "%3f\n", $number ); [download]