diff --git a/djmoney_rates/utils.py b/djmoney_rates/utils.py index c5de05d..fb0e1b9 100644 --- a/djmoney_rates/utils.py +++ b/djmoney_rates/utils.py @@ -43,6 +43,6 @@ def convert_money(amount, currency_from, currency_to): currency_to, source.name)) if isinstance(amount, float): - amount = Decimal(amount).quantize(rate_from) + amount = Decimal(amount).quantize(Decimal('.000001')) return (amount / rate_from) * rate_to