Hello,

According to what I have read in the docs 
(https://beancount.github.io/docs/precision_tolerances.html#balance-assertions-padding),
 
on balance assertions "The tolerance is inferred automatically to be 1 unit 
of the least significant digit of the number on the balance assertion." The 
tolerance on regular transactions appears to be half of that.

What is the rational for inferring the tolerance to 1 unit of the least 
significant digit rather than half that much? This seems a little 
unintuitive to me and I would like to make sure I understand. For example 
the following balance assertion would pass even though it is off by one 
cent.

2021-01-01 * "Initial transaction"
    Assets:Cash              0.49 USD
    Equity:Opening-Balances

2021-01-02 balance Assets:Cash  0.50 USD

Is it best practice to use balance assertions with a higher degree of 
precision than the base currency or to explicitly give a tolerance on each 
assertion?

Thank you for your help.

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/beancount/cfd8ca77-644e-4f3f-886a-357d4b0b2c33n%40googlegroups.com.

Reply via email to