New issue 246: Transaction does not balance (-1E-24 MR) with @@
https://bitbucket.org/blais/beancount/issues/246/transaction-does-not-balance-1e-24-mr-with

Martin Michlmayr:

```
2014-01-01 open Assets:Test

2018-03-20 * "Test"
  Assets:Test                42.30 USD @@ 5640 MR
  Assets:Test                            -5640 MR
```

gives

```/home/tbm/beancount/test.beancount:9:       Transaction does not balance: 
(-1E-24 MR)
```

Clearly it should balance but it doesn't because of rounding when you convert 
from a total price to a unit price.

Maybe beancount should automatically infer a tolerance of whatever the precsion 
of the datatype you use to store is.

Also, another argument for issue #194 to somehow store the total price/cost.


-- 
You received this message because you are subscribed to the Google Groups 
"Beancount" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/beancount/20180320153552.9521.57019%40celery-worker-105.ash1.bb-inf.net.
For more options, visit https://groups.google.com/d/optout.

Reply via email to