On Sat, May 16, 2015 at 2:29 PM, Scott Carpenter <[email protected]> wrote:
> I can reproduce it just with those two transactions: > > 2015/05/13 some place > e: misc > e: sundry ($2.539 * 1.8) > l: credit card: big bank $-30.25 > > 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 > > ledger -f [filename] --market reg "big bank" > > With the investment second like this, it has the error. If I put the > investment first, it works. > Ledger has order-dependent behavior about precision: it seems to have some notion of precision that depends on the last number parsed in your file (across transactions). See this ticket for a detailed example of the problem: *Bug 1082* <http://bugs.ledger-cli.org/show_bug.cgi?id=1082> - A change in precision used on an amount in-stream affects the balancing precision of following transactions -- --- 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.
