2019-06-12 price SEK 0.0938 EUR2019-06-12 * "Superruotsi osto" Assets:Nordnet:SuperrahastoRuotsi 1.5613 SUPERRUOTSI {375.57 SEK} Assets:Nordnet:Cash -55.00 EUR @ SEK
Transaction does not balance: (-0.0000000000000000000000001 SEK)
2019-06-13 * "Superruotsi osto" Assets:Nordnet:SuperrahastoRuotsi 1.5613 SUPERRUOTSI {375.57 SEK, 2019-06-13} Assets:Nordnet:Cash -55.0000 EUR @ 10.66140801818181818181818182 SEK
--
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 beancount+...@googlegroups.com.
To post to this group, send email to bean...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/beancount/63dc05b2-f5f4-422e-8e46-f0e980f672d2%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Once you have enough numbers of SEK currency in your input it'll figure it out automatically.In the meantime, add this:option "inferred_tolerance_default" "SEK:0.01"
On Sat, Jun 15, 2019 at 8:02 AM <salmi...@gmail.com> wrote:
I'm trying to add a transaction about a fund I bought recently. My own currency is in euros and the fund's currency is SEK. Based on the documents from my bank I created the following transaction entry:--2019-06-12 price SEK 0.0938 EUR2019-06-12 * "Superruotsi osto"Assets:Nordnet:SuperrahastoRuotsi 1.5613 SUPERRUOTSI {375.57 SEK}Assets:Nordnet:Cash -55.00 EUR @ SEK
However, I get bean count error:Transaction does not balance: (-0.0000000000000000000000001 SEK)2019-06-13 * "Superruotsi osto"Assets:Nordnet:SuperrahastoRuotsi 1.5613 SUPERRUOTSI {375.57 SEK, 2019-06-13}Assets:Nordnet:Cash -55.0000 EUR @ 10.66140801818181818181818182 SEK
So looks like there is a precision problem with the exact values I have here. How I should go and fix this?
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 bean...@googlegroups.com.
To unsubscribe from this group and stop receiving emails from it, send an email to beancount+...@googlegroups.com.
To post to this group, send email to bean...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/beancount/1fbb9248-83f0-4346-8070-bd154261964d%40googlegroups.com.