in reply to printf rounding issue
Especially Humans have too many fingers! :)
In short, the internal representation of numbers is in binary system, which can't do all decimal fractions without rounding error.
Cheers Rolf
(addicted to the Perl Programming Language and ☆☆☆☆ :)
Je suis Charlie!
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: printf rounding issue
by vishy_acts (Novice) on Nov 16, 2016 at 13:54 UTC | |
by LanX (Saint) on Nov 16, 2016 at 14:07 UTC |