NumberSymbol

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

查看"说明"...

      
      
  1. enum NumberSymbol {
  2. Decimal
  3. Group
  4. List
  5. PercentSign
  6. PlusSign
  7. MinusSign
  8. Exponential
  9. SuperscriptingExponent
  10. PerMille
  11. Infinity
  12. NaN
  13. TimeSeparator
  14. CurrencyDecimal
  15. CurrencyGroup
  16. }

说明

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)
perMille234the permille sign (out of 1000)
exponential1.2E3used 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