docs: double-quoted commodity symbols

This commit is contained in:
Simon Michael 2010-05-27 00:56:47 +00:00
parent ecf27b8386
commit a63cb2e274

View File

@ -164,11 +164,12 @@ be separated from the account name by at least two spaces.
An amount is a number, with an optional currency/commodity symbol or word An amount is a number, with an optional currency/commodity symbol or word
on either the left or right. For negative amounts, the minus sign usually on either the left or right. For negative amounts, the minus sign usually
goes next to the number (`$-1`); immediately before a left-side currency goes next to the number (`$-1`), but may also go before a currency symbol
symbol is also accepted (`-$1`). (`-$1`). Commodity names may contain digits and spaces if enclosed in
double quotes.
This file format is also compatible with c++ ledger, so you can use both hledger's file format aims to be compatible with c++ ledger, so you can
tools. For more details, see use both tools. For more details, see
[File format compatibility](#file-format-compatibility). [File format compatibility](#file-format-compatibility).
## Reference ## Reference