;lib, journal: fix some "decimal point" mentions
This commit is contained in:
parent
a259992f93
commit
6a01b1f438
@ -766,12 +766,12 @@ fixedlotpricep = optional $ do
|
|||||||
-- attributes.
|
-- attributes.
|
||||||
--
|
--
|
||||||
-- Some international number formats are accepted, eg either period or comma
|
-- 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
|
-- separating digit groups in the integer part. See
|
||||||
-- http://en.wikipedia.org/wiki/Decimal_separator for more examples.
|
-- http://en.wikipedia.org/wiki/Decimal_separator for more examples.
|
||||||
--
|
--
|
||||||
-- This returns: the parsed numeric value, the precision (number of digits
|
-- 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.
|
-- and the digit group style if any.
|
||||||
--
|
--
|
||||||
numberp :: Maybe AmountStyle -> TextParser m (Quantity, Int, Maybe Char, Maybe DigitGroupStyle)
|
numberp :: Maybe AmountStyle -> TextParser m (Quantity, Int, Maybe Char, Maybe DigitGroupStyle)
|
||||||
|
|||||||
@ -432,7 +432,7 @@ Scientific E notation is allowed:
|
|||||||
1E-6
|
1E-6
|
||||||
EUR 1E3
|
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.23
|
||||||
1,23456780000009
|
1,23456780000009
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user