NumberStyles

NumberStyles enum

Number style allowed when parsing.

enum class NumberStyles : int32_t

Values

NameValueDescription
None0No non-digit symbols.
AllowLeadingWhite1Allow leading whitespaces.
AllowTrailingWhite2Allow trailing whitespaces.
AllowLeadingSign4Allow leading sign.
Integern/aDefault integer formatting.
AllowTrailingSign8Allow trailing sign.
AllowParentheses16Allow parenthesis for negative values.
AllowDecimalPoint32Allow decimal point.
AllowThousands64Allow group separators.
Numbern/aDefault composite number format.
AllowExponent128Allow exponent sign.
Floatn/aDefault floating point number format.
AllowCurrencySymbol256Allow currency symbol.
Currencyn/aDefault currency format.
Anyn/aAllow any format specifier.
AllowHexSpecifier512Allow hexadecimal numbers.
HexNumbern/aDefault hexadecimal number format.

See Also