-
Notifications
You must be signed in to change notification settings - Fork 81
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
rounding field on Currency model #18
Comments
I'm sure some people would want to fine-tune the way currencies handles the rounding, so if you can provide a patch for it, I'll include it! |
I presume when you say rounding, you mean the number of decimal places? |
I thought about adding the extra code to utils.py but it's already a bit ugly in there. |
Hi!
I have a working implementation of a
rounding
field onCurrency
model that enable cofiguring the rounding rules for each currency.It also includes a
round()
method onCurrency
that takes avalue
and retuns it rounded.No tests for now, but just checking if this is something you'll be interested in adding to django-currencies.
Thanks!
The text was updated successfully, but these errors were encountered: