Keep It Simple, Stupid | |
PerlMonks |
Re: Simple adding numbersby ig (Vicar) |
on Mar 26, 2013 at 07:30 UTC ( [id://1025448]=note: print w/replies, xml ) | Need Help?? |
This is just another way of saying the same thing but in Perl 0.1 isn't the value you think it is. Try the following:
On my system it prints:
Note the extra 1 in the 17th place. The result may be different on your system. It depends on how floating point numbers are stored. Different systems store them differently.
In Section
Seekers of Perl Wisdom
|
|