in reply to Re^2: int($x) gives strange result
in thread int($x) gives strange result

++moritz

I was playing with it to the thousandth and found about the same "BAD" result:
my $x = 1.159; print +(int($x*100.1))/100;

What did the Pro-Perl programmer say to the Perl noob?
You owe me some hair.