in reply to
strange result for a simple addition ??
See
Why am I getting long decimals (eg, 19.9499999999999) instead of the numbers I should be getting (eg, 19.95)?
from perlfaq for explanations and workarounds.
I was also confused by this at the beginning...
Comment on
Re: strange result for a simple addition ??
In Section
Seekers of Perl Wisdom