-
Notifications
You must be signed in to change notification settings - Fork 34
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
precision, scale #99
Comments
@mjibson , are you able to help with this issue? |
@mjibson , thanks will have a look. |
@mjibson , I put this together - https://play.golang.org/p/Skm023JrE3U Seems to be working. Let me know if I got something wrong? Also, I feel it would be useful to have that Once again, thanks for helping out. |
apd is well-scoped to be whatever http://speleotrove.com/decimal/ provides and tries really hard to not do more things. That function is possibly useful as a documented example instead of an included function. However I no longer have merge permission to this repo so am unable to help out too much making that happen beyond reviewing a PR. |
@mjibson , Thanks. I guess if someone ever uses |
Firstly, thank you for making this library available.
We use CRDB as our data store and this library when we need to do decimal operations.
Following taken from CRDB docs:
What is the best way to achieve CRDB's
precision, scale
with apd v2? An example would be handy.What is the best way to round digits to the right of the decimal point with apd v2 ? An example would be handy.
The text was updated successfully, but these errors were encountered: