go ahead... be a heretic | |
PerlMonks |
Re: Decimal Increment Bug?by toolic (Bishop) |
on Mar 16, 2018 at 19:28 UTC ( [id://1211072]=note: print w/replies, xml ) | Need Help?? |
This is a FAQ Why am I getting long decimals (eg, 19.9499999999999) instead of the numbers I should be getting (eg, 19.95)? Use printf:
In Section
Seekers of Perl Wisdom
|
|