diff --git a/hledger-lib/Hledger/Read/Common.hs b/hledger-lib/Hledger/Read/Common.hs index aadb47626..3a07813ad 100644 --- a/hledger-lib/Hledger/Read/Common.hs +++ b/hledger-lib/Hledger/Read/Common.hs @@ -766,12 +766,12 @@ fixedlotpricep = optional $ do -- attributes. -- -- Some international number formats are accepted, eg either period or comma --- may be used for the decimal point, and the other of these may be used for +-- may be used for the decimal mark, and the other of these may be used for -- separating digit groups in the integer part. See -- http://en.wikipedia.org/wiki/Decimal_separator for more examples. -- -- This returns: the parsed numeric value, the precision (number of digits --- seen following the decimal point), the decimal point character used if any, +-- seen following the decimal mark), the decimal mark character used if any, -- and the digit group style if any. -- numberp :: Maybe AmountStyle -> TextParser m (Quantity, Int, Maybe Char, Maybe DigitGroupStyle) diff --git a/hledger-lib/hledger_journal.m4.md b/hledger-lib/hledger_journal.m4.md index 988a1e75a..ca74debe9 100644 --- a/hledger-lib/hledger_journal.m4.md +++ b/hledger-lib/hledger_journal.m4.md @@ -432,7 +432,7 @@ Scientific E notation is allowed: 1E-6 EUR 1E3 -A decimal mark (decimal point) can be written with a period or a comma: +A decimal mark can be written as a period or a comma: 1.23 1,23456780000009