A concrete subclass of NumberFormat that formats decimal numbers. It has a variety of features designed to make it possible to parse and format numbers in any locale, including support for Western, Arabic, and Indic digits. It also supports different kinds of numbers, including integers (123), fixed-point numbers (123.4), scientific notation (1.23E4), percentages (12%), and currency amounts ($123). All of these can be localized.

See java.text.DecimalFormat for full documentation

Hierarchy

Constructors

Methods

Constructors

Methods

  • Parameters

    • obj: number

    Returns string

  • Parses text from a string to produce an object array.

    Parameters

    • source: string

    Returns any

Generated using TypeDoc