OptionalcurrencyCurrency symbol(s) stripped from the start, if any.
OptionalcurrencyCurrency symbol(s) stripped from the end, if any.
OptionaldenominatorThe denominator of a fraction (e.g. 3 from "1 2/3", or 2 from "1/2"). Always unsigned.
The original input string.
OptionalnumeratorThe numerator of a fraction (e.g. 2 from "1 2/3", or 1 from "1/2"). Always unsigned.
OptionalpercentageTrue if a % suffix was stripped.
OptionalsignThe leading sign character ('-' or '+'), if present. Omitted when no explicit sign was in the input.
OptionaltrailingTrailing invalid (usually non-numeric) characters detected in the input, if any. Populated even when allowTrailingInvalid is false.
The parsed numeric value (NaN if invalid).
OptionalwholeThe whole-number part of a mixed fraction (e.g. 1 from "1 2/3"). Omitted for pure fractions, decimals, and integers.
Verbose result returned when
verbose: trueis set.