Skip to content
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

Use integer for currencies instead of float #254

Closed
oxisto opened this issue Dec 18, 2023 · 0 comments · Fixed by #255
Closed

Use integer for currencies instead of float #254

oxisto opened this issue Dec 18, 2023 · 0 comments · Fixed by #255

Comments

@oxisto
Copy link
Owner

oxisto commented Dec 18, 2023

With floating numbers, you have annoying and unnecessary imprecision. We only need to have two-digits so we will store currency in the lowest denominator value, e.g., pence and cents.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant