Hello all,
I'm a relatively new beancount user.
I've been exporting my online banking data, converting that to beancount
format, and then using the include directive to pull that into my main
beancount ledger. Everything has been going smoothly, until recently when I
created a couple of new accounts to hold some new investments, and noticed
they were being rendered as decimals, even though there wasn't any decimal
and they should have been represented as integers.
To try and track this down, I've played around with the posting, changing
both sides of the posting, changing the name, and all sorts of things, but
without any luck. While doing this I randomly tried using the name of a
stock I had previously held, and noticed it then rendered correctly. I
tried renaming this to a couple of other stocks that I had previously held
as well, and noticed there was one other stock/account which also rendered
incorrectly as a decimal.
The transaction in question is about as simple as it can get, so I'm
wondering if I'm encountering a bug or there's another problem with my
ledger somewhere that I'm not yet aware of. When I've run bean-check and
bean-doctor against it, it's passed without any errors, and I usually use
Fava locally while editing to help check for any errors. Here is what the
transaction looks like for reference:
2020-07-13 * "Buying company shares"
Assets:ING-DiBa:Shares:ACME 100 ACME {40.27 EUR}
Assets:ING-DiBa:Account -4027 EUR
And if I change ACME to be MSFT or TEAM it renders correct, but if I leave
it as ACME or change it to DIS, it renders incorrectly as a decimal.
At this point I'm at a bit of a loss about how to proceed with working out
why this happen. So I was hoping someone here might be able to give me some
pointers to get me on the right path.
Any help would be greatly appreciated, thanks!
Regards,
Cameron.
--
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 view this discussion on the web visit
https://groups.google.com/d/msgid/beancount/e8fa0fc1-ff5e-4b67-9bf8-b13feae32134n%40googlegroups.com.