beancount/ledger2beancount

Total cost and total price don't match due to rounding

tbm opened this issue · 0 comments

tbm commented
2020-11-09 * Total cost and total price don't match due to rounding
    Assets:Investments  9 "GB00BPN5P782" {100.251 GBP} [2019-12-13] @@ 902.26 GBP
    Assets:Investments                                                -902.26 GBP

2020-11-09 * Total cost and total price don't match due to rounding
    Assets:Investments  9 "GB00BPN5P782" {{902.26 GBP}} [2019-12-13] @ 100.251 GBP
    Assets:Investments                                                 -902.26 GBP

I wish we could avoid that, but we really have to round the calculated total to the same precision as a given total.