NumberSymbol
enum
Symbols that can be used to replace placeholders in number patterns. Examples are based on en-US
values.
See also
enum NumberSymbol { Decimal Group List PercentSign PlusSign MinusSign Exponential SuperscriptingExponent PerMille Infinity NaN TimeSeparator CurrencyDecimal CurrencyGroup }
Members
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–2020 Google, Inc.
Licensed under the Creative Commons Attribution License 4.0.
https://v8.angular.io/api/common/NumberSymbol