-
Notifications
You must be signed in to change notification settings - Fork 1.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Causeless DecimalField behavior #637
Comments
DecimalField was a contributed field - I'm more than happy to take a PR to improve it |
FWIW, a new Decimal type was added in MongoDB 3.3.8 / pyMongo 3.4. Nov 29, 2016: Newly released Mongo DB 3.4 adds decimal data type. It would make sense to use it when using Mongo DB 3.4. |
@lafrech any plans for implementing this native |
I highly suggest to add big warning to docs about Decimal - Float conversion. |
Explanation merged into master |
DecimalField
should not use float to store its values. It is crucial to never use float forDecimal
as it is often used for financial tasks.I suggest to use
Int
and precision metainfo somewhere nearby.The text was updated successfully, but these errors were encountered: