http://www.perlmonks.org?node_id=941178


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.