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


in reply to Re: floating points and sprintf
in thread floating points and sprintf

Check my just posted note. The real value is 147.2. That is mulitplied by 100 (value should be close to 14720.0) and then converted. I understand rounding errors converting from floats to ints but this problem strikes me as a bug.