From 83c1e0d04fe2e78963c8b508e8b7d0ae03bfcb16 Mon Sep 17 00:00:00 2001 From: Scott Gasch Date: Fri, 10 Sep 2021 13:23:31 -0700 Subject: Adding more tests, working on the test harness. --- type/centcount.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'type/centcount.py') 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__ ( -- cgit v1.3