Pathologically Eclectic Rubbish Lister | |
PerlMonks |
Re^2: Strange int() resultby Your Mother (Archbishop) |
on Jun 18, 2014 at 19:39 UTC ( [id://1090344]=note: print w/replies, xml ) | Need Help?? |
The only shop I ever worked in where I had to touch the money code did this too. We used cents as the integer instead of millicents but same idea, just grainier precision. Also noticed MJD's note– Your account is currently past due! Pay the outstanding balance of $ 0 . 00 or we will be forced to refer your account for collection. I got this exact letter from American Express once so plenty of devs who have no business making this class of mistake do so anyway.
In Section
Seekers of Perl Wisdom
|
|