NumberSymbol

Number symbol that can be used to replace placeholders in number patterns. The placeholders are based on english values:

enum NumberSymbol { Decimal Group List PercentSign PlusSign MinusSign Exponential SuperscriptingExponent PerMille Infinity NaN TimeSeparator CurrencyDecimal CurrencyGroup }

说明

NameExample for en-USMeaning
decimal2,345 . 67decimal separator
group2 , 345.67grouping separator, typically for thousands
plusSign+ 23the plus sign used with numbers
minusSign- 23the minus sign used with numbers
percentSign23.4 %the percent sign (out of 100)
perMille234 the permille sign (out of 1000)
exponential1.2 E 3used in computers for 1.2×10³.
superscriptingExponent1.2 × 103human-readable format of exponential
infinityused in +∞ and -∞.
nanNaN"not a number".
timeSeparator10 : 52symbol used between time units
currencyDecimal$2,345 . 67decimal separator, fallback to "decimal"
currencyGroup$2 , 345.67grouping separator, fallback to "group"

成员列表

成员说明
Decimal
Group
List
PercentSign
PlusSign
MinusSign
Exponential
SuperscriptingExponent
PerMille
Infinity
NaN
TimeSeparator
CurrencyDecimal
CurrencyGroup