Dave Mitchell wrote: > I fixed this by stopping the processing of the integer or fractional > component once its been detected that only zeroes are left (with a > suitable adjustment of the exponent). Eww. That won't fix cases where the extra digits are non-zero, such as $ echo 0.15301e-305 | perl -e '$v = <STDIN>; print "v=", $v + 0, "\n";' v=0 $ echo 0.15399e-305 | perl -e '$v = <STDIN>; print "v=", $v + 0, "\n";' v=0 -zeframThread Previous | Thread Next