enum
Symbols that can be used to replace placeholders in number patterns. Examples are based on en-US
values.
enum NumberSymbol { Decimal Group List PercentSign PlusSign MinusSign Exponential SuperscriptingExponent PerMille Infinity NaN TimeSeparator CurrencyDecimal CurrencyGroup }
Member | Description |
---|---|
Decimal | Decimal separator. For |
Group | Grouping separator, typically for thousands. For |
List | List-item separator. Example: "one, two, and three" |
PercentSign | Sign for percentage (out of 100). Example: 23.4% |
PlusSign | Sign for positive numbers. Example: +23 |
MinusSign | Sign for negative numbers. Example: -23 |
Exponential | Computer notation for exponential value (n times a power of 10). Example: 1.2E3 |
SuperscriptingExponent | Human-readable format of exponential. Example: 1.2x103 |
PerMille | Sign for permille (out of 1000). Example: 23.4‰ |
Infinity | Infinity, can be used with plus and minus. Example: ∞, +∞, -∞ |
NaN | Not a number. Example: NaN |
TimeSeparator | Symbol used between time units. Example: 10:52 |
CurrencyDecimal | Decimal separator for currency values (fallback to |
CurrencyGroup | Group separator for currency values (fallback to |
© 2010–2021 Google, Inc.
Licensed under the Creative Commons Attribution License 4.0.
https://v12.angular.io/api/common/NumberSymbol