You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
BUGThis is a bug, not a feature request; something isn't working.core-opsComponent: Core data structures and stream opsP2Low priority, addressing would result in useful improvements
The bean-web journal (and the fava journal) use the input precision to render units, price and cost. I actually like this as it allows me to spot problems with the data in my file. However, some computed will be shown with ~20 decimal digits.
I've input most of my transactions in foreign currencies using a total price with @@, e.g. 9.50 GBP @@ 11.18 EUR. This leads to a price with a lot of unnecessary digits (1.176842105263157894736842105 EUR in the example), as the number don't divide nicely. It would be nice if beancount would only calculate the price number of digits required to make the transaction balance under the known tolerances. Or is there some reason why this behaviour would be bad?
The text was updated successfully, but these errors were encountered:
Original comment by Martin Blais (Bitbucket: blais, GitHub: blais).
This is an interesting idea I hadn't thought about, basically for the completion to round from the most precise until the tolerance fails. I like this. Will definitely consider this and implement eventually.
blais
added
P2
Low priority, addressing would result in useful improvements
core-ops
Component: Core data structures and stream ops
BUG
This is a bug, not a feature request; something isn't working.
labels
May 22, 2020
BUGThis is a bug, not a feature request; something isn't working.core-opsComponent: Core data structures and stream opsP2Low priority, addressing would result in useful improvements
Original report by Jakob Schnitzer (Bitbucket: yagebu, GitHub: yagebu).
The
bean-web
journal (and thefava
journal) use the input precision to render units, price and cost. I actually like this as it allows me to spot problems with the data in my file. However, some computed will be shown with ~20 decimal digits.I've input most of my transactions in foreign currencies using a total price with
@@
, e.g.9.50 GBP @@ 11.18 EUR
. This leads to a price with a lot of unnecessary digits (1.176842105263157894736842105 EUR in the example), as the number don't divide nicely. It would be nice if beancount would only calculate the price number of digits required to make the transaction balance under the known tolerances. Or is there some reason why this behaviour would be bad?The text was updated successfully, but these errors were encountered: