Two remarks:
- {{ }} is outdated. One should use the newer syntax, e.g. {# 3000.00 USD}
instead. Note that a combination of per-unit and total amounts is possible,
e.g. {72.34 # 9.95 USD} would (num_units * 72.34 + 9.95).
- {} is for cost basis. @ (and @@) is for price. These are different
things. {} attaches the per-unit cost to what's deposited in the account. @
doesn't. More in the docs.
On Sun, Oct 8, 2017 at 8:19 AM, <[email protected]> wrote:
> The Cheat Sheet
> <https://docs.google.com/document/d/1M4GwF6BkcXyVVvj4yXBJMX7YFXpxlxo95W6CpU3uWVc/edit#>
> says
> total cost syntax is {{nn CUR}}, but the Language Syntax Document
> <https://docs.google.com/document/d/1wAMVrKIA2qtRGmoVDSUBJGmYZSygUaR0uOMW1GV3YE0/edit>
> says
> it is "@@ nn CUR".
>
> Is one incorrect? Is one preferred?
>
> -k.
>
> --
> 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/77e6c1f8-6bc2-4597-880c-34693719d68c%40googlegroups.com
> <https://groups.google.com/d/msgid/beancount/77e6c1f8-6bc2-4597-880c-34693719d68c%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%2BhPB0tacV%2B7pMtyrNHBwxMpP29CS6WqirSO8rSrbHpCiPA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.