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
Transaction does not balance with @@: -0.000000000000000000000001 #246
Comments
Original comment by Martin Blais (Bitbucket: blais, GitHub: blais). This is due to inference; working as expected.
You can get rid of the warning by setting a reasonable default for the inferred tolerance for currency MR:
|
Original comment by Martin Michlmayr (Bitbucket: tbm13, GitHub: tbm). I think there are 2 problems here:
As a user, I shouldn't need to specify |
Can this be opened? |
Original report by Martin Michlmayr (Bitbucket: tbm13, GitHub: tbm).
gives
Clearly it should balance but it doesn't because of rounding when you convert from a total price to a unit price.
Maybe beancount should automatically infer a tolerance of whatever the precsion of the datatype you use to store is.
Also, another argument for issue #194 to somehow store the total price/cost.
The text was updated successfully, but these errors were encountered: