Help Angular by taking a 1 minute survey!Go to surveyHome

NumberSymbol

Symbols that can be used to replace placeholders in number patterns. Examples are based on en-US values.

See also

      
      
  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. }

Members

Member Description
Decimal

Decimal separator. For en-US, the dot character. Example : 2,345.67

Group

Grouping separator, typically for thousands. For en-US, the comma character. Example: 2,345.67

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 Decimal). Example: $2,345.67

CurrencyGroup

Group separator for currency values (fallback to Group). Example: $2,345.67