in reply to
Wrong calculations in for loop
perlfaq
:
Why am I getting long decimals (eg, 19.9499999999999) instead of the numbers I should be getting (eg, 19.95)?
Comment on
Re: Wrong calculations in for loop
In Section
Seekers of Perl Wisdom