;doc:journal:Digit group marks: simplify, don't encourage mad unicode spaces

This commit is contained in:
Simon Michael 2024-02-29 16:35:45 -10:00
parent ed3dc344fc
commit 256294101d

View File

@ -1235,7 +1235,8 @@ hledger also accepts numbers like `10.` with no digits after the decimal mark
In the integer part of the amount quantity (left of the decimal mark), In the integer part of the amount quantity (left of the decimal mark),
groups of digits can optionally be separated by a *digit group mark* - groups of digits can optionally be separated by a *digit group mark* -
a comma or period (whichever is not used as decimal mark), a comma or period (whichever is not used as decimal mark),
or a space (any of these Unicode space characters: or a space (several Unicode space variants, like no-break space, are also accepted).
<!--
space, space,
no-break space, no-break space,
en space, en space,
@ -1244,7 +1245,7 @@ punctuation space,
thin space, thin space,
narrow no-break space, narrow no-break space,
medium mathematical space). medium mathematical space).
-->
So these are all valid amounts in a journal file: So these are all valid amounts in a journal file:
$1,000,000.00 $1,000,000.00