Opened 13 years ago

Closed 13 years ago

#17855 closed Bug (duplicate)

DecimalField problem

Reported by: anonymous Owned by: nobody
Component: Uncategorized Version: 1.4-beta-1
Severity: Release blocker Keywords: DecimalField bug
Cc: Triage Stage: Unreviewed
Has patch: no Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: no UI/UX: no

Description

For a model field created as :: models.DecimalField(max_digits = 200, decimal_places = 100, blank = False, null = False)
While using admin interface to insert a record involving such a DecimalField, the format changes (loss of precision and it uses scientific notation (even in the database)) (Please note - it works properly for low precision values (example - .987654321001234) - but for larger precision values (probably 15 decimal_places or more) it results in loss of precision)

django version 1.3.1 and 1.4c1 (don't know about older versions);
python 2.6.6;
linux;

Change History (1)

comment:1 by Ramiro Morales, 13 years ago

Resolution: duplicate
Status: newclosed
Note: See TracTickets for help on using tickets.
Back to Top