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
Hi, thank you for opening this issue. In the context of reworking the price logic in Fava (#1589), I've had a look into this. The prices are calculated correctly in Fava, but they are rounded when displayed, since you've only got amounts in the CHF currency that lack any digits after the decimal dot - so the decimal precision with which to display amounts in CHF is inferred to be zero.
Disclaimer: I'm fairly new to Beancount & Fava.
I ran into something weird related to prices in Fava which I thought would be worth reporting here:
Looking at Fava's
/commodities/
page for my Ledger, I had someCHF / USD
at 1.1x and allUSD / CHF
at 1.That... doesn't really make sense, and should be "impossible" - do you agree? I spent some time narrowing it down to a minimal reproducer:
This will show the correct
CHF / USD
, calculated from the inverse of theprice
given above:But the
USD / CHF
shown is clearly wrong, ignoring theprice
directives:Adding a price for the day of the last transaction on
2022-12-27
(which only usesCHF
noUSD
...) "fixes" it:now the
USD / CHF
table is correct:The text was updated successfully, but these errors were encountered: