See Does Perl Have a round function ?. It briefly mentions the error in rounding and blames it on the IEEE representation used internally.
There is very similar discussion in Rounding error?
In reply to Re: Rounding a number using (s)printf
by data64
in thread Rounding a number using (s)printf
by the_slycer
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |