diff options
| author | Scott Gasch <[email protected]> | 2021-09-10 13:23:31 -0700 |
|---|---|---|
| committer | Scott Gasch <[email protected]> | 2021-09-10 13:23:31 -0700 |
| commit | 83c1e0d04fe2e78963c8b508e8b7d0ae03bfcb16 (patch) | |
| tree | dadcd5f5a9fbd50f468a0f07ee28963ca4a3cf54 /type/centcount.py | |
| parent | 6f132c0342ab7aa438ed88d7c5f987cb52d8ca05 (diff) | |
Adding more tests, working on the test harness.
Diffstat (limited to 'type/centcount.py')
| -rw-r--r-- | type/centcount.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/type/centcount.py b/type/centcount.py index ce18975..4e5b8a6 100644 --- a/type/centcount.py +++ b/type/centcount.py @@ -11,7 +11,8 @@ T = TypeVar('T', bound='CentCount') class CentCount(object): """A class for representing monetary amounts potentially with - different currencies. + different currencies meant to avoid floating point rounding + issues by treating amount as a simple integral count of cents. """ def __init__ ( |
