System::Globalization::NumberStyles enum
NumberStyles enum
解析时允许的数字样式。
enum class NumberStyles : int32_t
值
| 名称 | 值 | 描述 |
|---|---|---|
| 无 | 0 | 不允许非数字符号。 |
| AllowLeadingWhite | 1 | 允许前导空白。 |
| AllowTrailingWhite | 2 | 允许尾随空白。 |
| AllowLeadingSign | 4 | 允许前置符号。 |
| 整数 | n/a | 默认整数格式化。 |
| AllowTrailingSign | 8 | 允许尾随符号。 |
| AllowParentheses | 16 | 允许对负值使用括号。 |
| AllowDecimalPoint | 32 | 允许小数点。 |
| AllowThousands | 64 | 允许分组分隔符。 |
| 数字 | n/a | 默认复合数字格式。 |
| AllowExponent | 128 | 允许指数符号。 |
| 浮点数 | n/a | 默认浮点数格式。 |
| AllowCurrencySymbol | 256 | 允许货币符号。 |
| 货币 | n/a | 默认货币格式。 |
| 任意 | n/a | 允许任何格式说明符。 |
| AllowHexSpecifier | 512 | 允许十六进制数字。 |
| HexNumber | n/a | 默认十六进制数字格式。 |
另见
- Namespace System::Globalization
- Library Aspose.Font for C++