Decimal Serializer Field should be able to automatically round #8072
Unanswered
mfit
asked this question in
Ideas & Suggestions
Replies: 1 comment
-
Same problem here, I have an application that heavily deals with pricing data. It honestly feels like I'm writing java again when I look at how many .quantize (in the backend) and lodash.round or .toFixed functions I am using just to make sure no number ever goes beyond 2 precision points. This seems so obvious and is much needed |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Decimal Serializer Field shoudl be able to automatically round to desired precision.
Instead of raising validation.
This behavior could be optional / opt-in.
Beta Was this translation helpful? Give feedback.
All reactions