diff --git a/src/ez_lan_manager/services/AccountingService.py b/src/ez_lan_manager/services/AccountingService.py index ba70ebd..5970631 100644 --- a/src/ez_lan_manager/services/AccountingService.py +++ b/src/ez_lan_manager/services/AccountingService.py @@ -67,8 +67,7 @@ class AccountingService: @staticmethod def make_euro_string_from_decimal(euros: Decimal) -> str: """ - Internally, all money values are cents as ints. Only when showing them to the user we generate a string. - Prevents float inaccuracy. + Internally, all money values are euros as decimal. Only when showing them to the user we generate a string. """ rounded_decimal = str(euros.quantize(Decimal(".01"), rounding=ROUND_DOWN)) return f"{rounded_decimal} €"