my $string = "0.99999999976716932"; my $number = 0.99999999976716932; print " string = $string number = $number "; __END__ string = 0.99999999976716932 number = 0.999999999767169
In reply to Re^3: Perl 5.8.x floating point representation error
by Anonymous Monk
in thread Perl 5.8.x floating point representation error
by satish.rpr
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |