Issue #384: Rounding errors when specifying full price via @@ command (blais/beancount)

21 views
Skip to first unread message

Evgeny Burmistrov

unread,
Mar 27, 2019, 5:23:06 AM3/27/19
to bean...@googlegroups.com
New issue 384: Rounding errors when specifying full price via @@ command
https://bitbucket.org/blais/beancount/issues/384/rounding-errors-when-specifying-full-price

Evgeny Burmistrov:

Hi. Here are three methods to show I've bought some:

2019-03-03 * "Bought some Euro cash"
Assets:Cash 900 EUR
Assets:Cash -67455 RUB @@ 900 EUR
Transaction does not balance: (-0.0000000000000000000000002 EUR)

With enough precision, @ command works correctly both ways:

2019-03-03 * "Bought some Euro cash"
Assets:Cash 900 EUR @ 74.95 RUB
Assets:Cash -67455 RUB
OR
2019-03-03 * "Bought some Euro cash"
Assets:Cash 900 EUR
Assets:Cash -67455 RUB @ 0.0133422281521014009339559706471 EUR


Reply all
Reply to author
Forward
0 new messages