![]() |
|
Clear questions and runnable code get the best and fastest answer |
|
PerlMonks |
Re: A bug of sprintf or not?by ikegami (Patriarch) |
on Oct 20, 2008 at 10:20 UTC ( #718188=note: print w/replies, xml ) | Need Help?? |
Anonymous Monk is mistaken. This isn't a precision issue. It's banker's rounding.
Note that all those numbers (but not 100.55) can be represented precisely in floats (0.5 = 2-1).
In Section
Seekers of Perl Wisdom
|
|