That sounds like a bug
It should be accepted without a zero

On Sat, Jan 19, 2019, 12:07 Martin Michlmayr <[email protected] wrote:

> * Jeff Brantley <[email protected]> [2019-01-19 11:23]:
> > How new? I'm running Beancount 2.2.0, per `bean-check --version`.
> >
> > If I try to use { # 123 USD} instead of {{123 USD}}, bean-check barfs
> with
> > "Too many missing numbers for currency group 'USD'" for each instance.
>
> It has to be
>
> { 0 # 123 USD}
>
> which I believe means: 0 per share plus a total of 123 USD.
>
> One of the examples previously given is
>        Assets:Investments     100 MSFT {42.00 # 9.95 USD}
> i.e. 100 shares at $42 each plus $9.95 fees.
>
> Martin, it sounds like { 0 # xx USD} is preferred over {{...}}, right?
> (I'm wondering if ledger2beancount should use this syntax.  Then
> again, {{ ... }} works)
> --
> 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/20190119200725.r6etrpaig7xi6xgx%40jirafa.cyrius.com
> .
> 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%2BhOV4mXSOubkQrKpKN7SoqTU6GUuDc9yH3T9MbUoHb1YdQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to