On Saturday, May 16, 2015 at 4:31:43 PM UTC+2, Scott Carpenter wrote: > > > 2015/05/13 some place > e: misc > e: sundry ($2.539 * 1.8) >
I may be woring, but my understanding of Ledger let me tell that, with this, as a side-effect, you said to ledger, I want three digit precision. Hence the unbalancer remainder. > > 2014/12/19 investments-r-us > > a: abc: investment banana 5.7424 ba @ $24.38 > > a: abc: investment bread 2.6954 br @ $22.26 > > a: abc: cash $-200 > This does not balance : 5.7424 * 24.38 = 139,999712 2.6954 * 22.26 = 59,999604 59,999604+139,999712 = 199,999316 I personnaly do not use this notation XXX COMMODITY @ $AAA.BB. Your bank neither do it. On the paper you receive each month, they tell you that they took $YYY.ZZ on your account, and as a side note for your information, that at that date the UNIT_PRICE was AAA.BB. Then they are rounding (thus error here) the XXX number of COMMODITY. Personnaly, like my Bank, I use notation XXX COMMODITY @@ $YYY.ZZ I may have lost the "lot" functionality of Ledger, but I never have any rouding issue with Ledger while keeping this discipline. Thierry -- --- You received this message because you are subscribed to the Google Groups "Ledger" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
