Leaklens

django__django-15863

Filter floatformat drops precision in decimal numbers

Verdict: the issue points to the file or function that was changed (Tier B).

I traced the bug to incorrect conversion to Decimal within the floatformat implementation that can't really work for Decimal numbers. Decimal numbers are converted to float instead.

The text points to the exact place to change: “I traced the bug to incorrect conversion to Decimal within the floatformat implementation that can't really work for Decimal numbers. Decimal numbers are converted to fl…”

All SWE-bench Verified tasks · more django/django tasks · How the check works