Currency fields should use DecimalField instead of FloatField

Issue #141 new
Maciej Wiśniowski
created an issue

Use of floats may cause invalid results of price calculations.

https://docs.djangoproject.com/en/1.3/ref/models/fields/#floatfield-vs-decimalfield

Comments (3)

  1. Cochise Ruhulessin

    Hi, what is the status of this issue? We'd like to use LFS but the current handling of currency using floating point values will lead to accounting errors. Is this fixed in the latest version?

  2. Log in to comment