in reply to Simple addition/subtraction not working
Most floating point numbers cannot be represented by a native float. You're suffering from rounding errors.
In Section
Seekers of Perl Wisdom
in reply to Simple addition/subtraction not working