django
django copied to clipboard
Fixed high precision decimals in floatformat
I discovered that floatformat
may round up high precision decimal numbers.
The underlying cause is that the first attempt to convert input to a decimal is written in a way that almost never works (repr
vs str
).