#33232: DecimalField rounding error when upgrading from 3.1 to 3.2 on Postgres
-------------------------------------+-------------------------------------
Reporter: Michał Szczepańczyk | Owner: nobody
Type: Bug | Status: closed
Component: Database layer | Version: 3.2
(models, ORM) |
Severity: Normal | Resolution: invalid
Keywords: decimal, | Triage Stage:
decimalfield, rounding, postgres | Unreviewed
Has patch: 0 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
-------------------------------------+-------------------------------------
Comment (by Simon Charette):
SQLite is also not a [https://www.sqlite.org/datatype3.html stellar
example of ambiguous data type handling as detailed in their
documentation]. Since it doesn't have a proper type to store decimal data
the ''rounding'' happens on the Django side.
--
Ticket URL: <https://code.djangoproject.com/ticket/33232#comment:5>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.
--
You received this message because you are subscribed to the Google Groups
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/django-updates/065.da5fc85664b59efefbb8860043567585%40djangoproject.com.