in reply to Re^2: Fun with floating points
in thread Fun with floating points

String/float conversion is not the only problem while dealing with floats. Consider following example:
perl -e '$x=1/3; $x-=1/2; $x+=1/3; $x-=1/2; $x+=1/3; print $x,"\n"'
$x should be equal to zero but it isn't.