;doc:commodity directive: edits

This commit is contained in:
Simon Michael 2023-11-22 16:27:26 -10:00
parent e623df23a3
commit f2026aec5a

View File

@ -2128,10 +2128,9 @@ commodity 1.000,00 EUR
commodity 1 000 000.0000 ; the no-symbol commodity
```
A commodity directive's sample amount must always include a decimal mark
(to help distinguish decimal marks and digit group marks).
It can be a period or a comma.
If you want to show no decimals in reports, write the decimal mark at the end:
A commodity directive's sample amount must always include a period or comma decimal mark
(this rule helps disambiguate decimal marks and digit group marks).
If you don't want to show any decimal digits, write the decimal mark at the end:
```journal
commodity 1000. AAAA ; show AAAA with no decimals