From f2026aec5ac3ca2927e4fd6f02af837c2c960968 Mon Sep 17 00:00:00 2001 From: Simon Michael Date: Wed, 22 Nov 2023 16:27:26 -1000 Subject: [PATCH] ;doc:commodity directive: edits --- hledger/hledger.m4.md | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/hledger/hledger.m4.md b/hledger/hledger.m4.md index f6f7e9edf..250b758c2 100644 --- a/hledger/hledger.m4.md +++ b/hledger/hledger.m4.md @@ -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