Keep It Simple, Stupid | |
PerlMonks |
Re: While loop with addition goes weirdby Laurent_R (Canon) |
on Apr 08, 2018 at 14:30 UTC ( [id://1212539]=note: print w/replies, xml ) | Need Help?? |
Computers are notoriously bad at computing with decimal numbers. That includes most programming languages.
If you want accurate arithmetic, you might want to try using Perl 6: ;-)
In Section
Seekers of Perl Wisdom
|
|