diff --git a/oxrlib/commands/historical.py b/oxrlib/commands/historical.py index 3dee51fd69fcd53e2c0f44832ac698e58945b7af..b887f3675479738d5d0a419ccedd33cadd416f5b 100644 --- a/oxrlib/commands/historical.py +++ b/oxrlib/commands/historical.py @@ -176,13 +176,13 @@ class BeancountFormatter(LedgerFormatter): COST_FMT = '{{{}}}' def __init__(self, cost_rates, price_rates=None, - signed_currencies=(), base_fmt='###0.###', + signed_currencies=(), base_fmt='#,##0.###', rate_precision=5, denomination=None): super().__init__( cost_rates, price_rates, (), - base_fmt.replace(',', ''), + base_fmt, rate_precision, denomination, )