Skip to content

Rounding errors #12

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

Open
torkel104 opened this issue Sep 3, 2019 · 1 comment
Open

Rounding errors #12

torkel104 opened this issue Sep 3, 2019 · 1 comment

Comments

@torkel104
Copy link

There are significant rounding errors in the result due to the use of floating point maths. Please use the Decimal class for all numbers to correct this problem.

https://github.com/shopspring/decimal

@swill
Copy link
Owner

swill commented Sep 3, 2019

How significant can the rounding of the current implementation impact the output?

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

No branches or pull requests

2 participants