Great, that solves it. Thank you very much > I think if you use integer for the amount (6739 CHF), the precision > will be unlimited. Try use a float like 6739.00 CHF > > On Fri, Jan 26, 2018 at 1:22 PM, 'Patrick Ruckstuhl' via Beancount > <[email protected] <mailto:[email protected]>> wrote: > > Hi, > > I have the following transaction: > > > 2014-01-13 * "Buy" > Assets:Foo:BAR 45.8 BAR {{6739 CHF}} > Assets:Foo:CHF -6739 CHF > > > and I'm getting the error Transaction does not balance: (1E-24 CHF) > > > Is there any way (except of adding a "rounding error" account) to > solve this? > > It seems that what's happening is that the per share price is > calculated and then there's rounding errors happening. > > > Thanks and Regards, > Patrick > > -- > 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] > <mailto:[email protected]>. > To post to this group, send email to [email protected] > <mailto:[email protected]>. > To view this discussion on the web visit > > https://groups.google.com/d/msgid/beancount/4a06ef34-eb3e-d28f-d2e4-d6596513e539%40ch.tario.org > > <https://groups.google.com/d/msgid/beancount/4a06ef34-eb3e-d28f-d2e4-d6596513e539%40ch.tario.org?utm_medium=email&utm_source=footer>. > For more options, visit https://groups.google.com/d/optout > <https://groups.google.com/d/optout>. > > > > > -- > Yuchen Ying > https://about.me/yegle > -- > 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] > <mailto:[email protected]>. > To post to this group, send email to [email protected] > <mailto:[email protected]>. > To view this discussion on the web visit > https://groups.google.com/d/msgid/beancount/CAFL5w3UztwGejFLG9jWh-7SQLcejHv6%2BVWkH4-fuA5TQ9OKEwQ%40mail.gmail.com > <https://groups.google.com/d/msgid/beancount/CAFL5w3UztwGejFLG9jWh-7SQLcejHv6%2BVWkH4-fuA5TQ9OKEwQ%40mail.gmail.com?utm_medium=email&utm_source=footer>. > For more options, visit https://groups.google.com/d/optout.
-- 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/46d83ea5-3bcf-9e07-e325-5a8659f124a1%40ch.tario.org. For more options, visit https://groups.google.com/d/optout.
