Pathologically Eclectic Rubbish Lister | |
PerlMonks |
Re: Rounding a number using (s)printfby data64 (Chaplain) |
on Jan 20, 2005 at 03:56 UTC ( [id://423591]=note: print w/replies, xml ) | Need Help?? |
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 Section
Seekers of Perl Wisdom
|
|