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