Search Results

  1. Parameters ¶ formatter NumberFormatter object. amount The numeric currency value. currency The 3-letter ISO 4217 currency code indicating the currency to use.

    • setAttribute

      Example #3 Using NumberFormatter::ROUNDING_MODE to truncate...

    • setTextAttribute

      Parameters ¶ formatter NumberFormatter object. attribute...

    • Create

      Parameters ¶ locale Locale in which the number would be...

    • getLocale

      Parameters ¶ formatter NumberFormatter object. type You can...

    • Parse

      Parse a number

    • setSymbol

      Parameters ¶ formatter NumberFormatter object. symbol Symbol...

    • getSymbol

      Get a symbol associated with the formatter. The formatter...

    • getPattern

      Description ¶ Object-oriented style public...

  2. The 3-letter ISO 4217 currency code indicating the currency to use.

  3. Parameters fmt NumberFormatter object. value The numeric currency value. currency The 3-letter ISO 4217 currency code indicating the currency to use.

  4. numfmt_format_currency (No version information available, might be only in CVS) NumberFormatter::formatCurrency -- numfmt_format_currency — Format a currency value

  5. Apr 22, 2026 · By invoking the methods provided by the NumberFormatter class, you can format numbers, currencies, and percentages according to the specified or default locale. NumberFormatter is locale-sensitive so you need to create a new NumberFormatter for each locale. NumberFormatter methods format primitive-type numbers, such as double and output the number as a locale-specific string.

  6. Jul 18, 2023 · NumberFormatter's formatCurrency () output differs between currencies Asked 2 years, 9 months ago Modified 2 years, 9 months ago Viewed 87 times

  7. People also ask

  8. The 3-letter ISO 4217 currency code indicating the currency to use.

  1. People also search for