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 <[email protected]> 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 EUR
> 2019-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 [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/63dc05b2-f5f4-422e-8e46-f0e980f672d2%40googlegroups.com
> <https://groups.google.com/d/msgid/beancount/63dc05b2-f5f4-422e-8e46-f0e980f672d2%40googlegroups.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/CAK21%2BhMCqoSdArsnagGgZtX-DHz%3D4%2Bfwa3vw5xTySg%3DwU8_%3DpA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to