* Florian Lindner <[email protected]> [2019-04-26 10:14]:
> https://aumayr.github.io/beancount-docs-static/api_reference/beancount.core.html?highlight=link#beancount.core.number.D
>  
> "Convert a string, possibly with commas, into a Decimal object."

> but the documentation seems wrong or misleading.

It's not wrong per se (although I can see how it can be viewed as
misleading if you're used to comma decimal separators).  The comma is
used to separate thousands, e.g.  1,000,000.00 is one million.
beancount will handle that correctly.

> D() seems to just swallow the comma, not use it as decimal separator

Because comma decimal separators are currently not supported, see
https://bitbucket.org/blais/beancount/issues/204

-- 
Martin Michlmayr
https://www.cyrius.com/

-- 
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/20190426172412.GA10827%40jirafa.cyrius.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to