Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8215181 Accounting currency format support
  3. JDK-8229146

Release Note: Accounting Currency Format Support

XMLWordPrintable

    • generic
    • generic
    • Verified

      Currency format instances with accounting style, in which the amount is formatted in parentheses in some locales, can be obtained by calling `NumberFormat.getCurrencyInstance(Locale)` with the "u-cf-account" Unicode locale extension. For example in `Locale.US`, it will format to "`($3.27)`" instead of "`-$3.27`". Refer to [CLDR's accounting currency format style](https://www.unicode.org/reports/tr35/tr35-33/tr35-numbers.html#Currency_Formats) for additional information.

            naoto Naoto Sato
            naoto Naoto Sato
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: