in reply to Re: Strange int() result
in thread Strange int() result
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.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: Strange int() result
by davido (Cardinal) on Jun 18, 2014 at 20:11 UTC | |
|
Re^3: Strange int() result
by RonW (Parson) on Jun 18, 2014 at 21:29 UTC |