[ Web Proxy ]
URL:
Viewing: https://angular.dev/api/common/NumberSymbol [Back]  [Original]

NumberSymbol Angular Skip to main content
menu
close
more_horiz
menuAPI
@angular/common

NumberSymbol

enum
deprecated

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

getLocaleNumberSymbolInternationalization (i18n) Guide

Deprecation warning

getLocaleNumberSymbol is deprecated

orthos-back.svg [orthos-back.svg]

On this page

    arrow_upward_alt Back to the top

    API

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

    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

    Jump to details

    Web Proxy Viewer  |  New URL  |  Original Page