beancount / ledger2beancount

Ledger to Beancount text-based converter
GNU General Public License v3.0
85 stars 14 forks source link

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

Closed tbm closed 4 years ago

tbm commented 4 years ago
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.