🌐
GitHub
github.com › jdemetra › jdemetra-core › issues › 421
NumberFormat produces different code point after Java 13 build 21 · Issue #421 · jdemetra/jdemetra-core
March 14, 2019 - NumberFormat produces different code point after Java 13 build 21#421 · Copy link · Assignees · Labels · bug · charphi · opened · on Jun 28, 2019 · Issue body actions ·
Author   charphi
🌐
GitHub
github.com › AdoptOpenJDK › openjdk-jdk12u › blob › master › src › java.base › share › classes › java › text › NumberFormat.java
openjdk-jdk12u/src/java.base/share/classes/java/text/NumberFormat.java at master · AdoptOpenJDK/openjdk-jdk12u
import java.text.spi.NumberFormatProvider; import java.util.Currency; import java.util.HashMap; import java.util.Locale; import java.util.Map; import java.util.Objects; import java.util.concurrent.atomic.AtomicInteger; import java.util.concurrent.atomic.AtomicLong; import sun.util.locale.provider.LocaleProviderAdapter; import sun.util.locale.provider.LocaleServiceProviderPool; ·
Author   AdoptOpenJDK
🌐
GitHub
github.com › openjdk-mirror › jdk7u-jdk › blob › master › src › share › classes › java › text › NumberFormat.java
jdk7u-jdk/src/share/classes/java/text/NumberFormat.java at master · openjdk-mirror/jdk7u-jdk
public abstract class NumberFormat extends Format { · /** * Field constant used to construct a FieldPosition object. Signifies that · * the position of the integer part of a formatted number should be returned. * @see java.text.FieldPosition ·
Author   openjdk-mirror
🌐
GitHub
github.com › openjdk › jdk › blob › master › src › java.base › share › classes › java › text › DecimalFormat.java
jdk/src/java.base/share/classes/java/text/DecimalFormat.java at master · openjdk/jdk
* @see <a href="http://docs.oracle.com/javase/tutorial/i18n/format/decimalFormat.html">Java Tutorial</a> ... LocaleProviderAdapter adapter = LocaleProviderAdapter.getAdapter(NumberFormatProvider.class, def);
Author   openjdk
🌐
GitHub
github.com › AdoptOpenJDK › openjdk-jdk11 › blob › master › src › java.base › share › classes › java › text › NumberFormat.java
openjdk-jdk11/src/java.base/share/classes/java/text/NumberFormat.java at master · AdoptOpenJDK/openjdk-jdk11
March 2, 2019 - import java.text.spi.NumberFormatProvider; import java.util.Currency; import java.util.HashMap; import java.util.Hashtable; import java.util.Locale; import java.util.Map; import java.util.ResourceBundle; import java.util.concurrent.atomic.AtomicInteger; import java.util.concurrent.atomic.AtomicLong; import java.util.spi.LocaleServiceProvider; import sun.util.locale.provider.LocaleProviderAdapter; import sun.util.locale.provider.LocaleServiceProviderPool; ·
Author   AdoptOpenJDK
🌐
GitHub
github.com › frohoff › jdk8u-jdk › blob › master › src › share › classes › java › text › DecimalFormat.java
jdk8u-jdk/src/share/classes/java/text/DecimalFormat.java at master · frohoff/jdk8u-jdk
* @see <a href="https://docs.oracle.com/javase/tutorial/i18n/format/decimalFormat.html">Java Tutorial</a> ... LocaleProviderAdapter adapter = LocaleProviderAdapter.getAdapter(NumberFormatProvider.class, def);
Author   frohoff
🌐
GitHub
gist.github.com › JDatta › e8e6fb3b4cedeb27797c
NumberFormat.java · GitHub
NumberFormat.java · Raw · NumberFormat.java · This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
🌐
Unicode
unicode-org.github.io › icu › userguide › format_parse › numbers › legacy-numberformat.html
Legacy NumberFormat | ICU Documentation
In ICU and Java, the currency is specified in the form of a 3-letter ISO 4217 code. For example, the code “USD” represents the US Dollar and “EUR” represents the Euro currency. In terms of APIs, the currency code is set as an attribute on a number format object (on a currency instance), while the number value is passed into each format() call or returned from parse() as usual. ICU4C (C++) NumberFormat.setCurrency() takes a Unicode string (const UChar*) with the 3-letter code.
🌐
GitHub
github.com › spring-projects › spring-framework › blob › main › spring-context › src › main › java › org › springframework › format › annotation › NumberFormat.java
spring-framework/spring-context/src/main/java/org/springframework/format/annotation/NumberFormat.java at main · spring-projects/spring-framework
* @see java.text.NumberFormat · */ @Documented · @Retention(RetentionPolicy.RUNTIME) @Target({ElementType.METHOD, ElementType.FIELD, ElementType.PARAMETER, ElementType.ANNOTATION_TYPE}) public @interface NumberFormat { · /** * The style pattern to use to format the field.
Author   spring-projects
Find elsewhere
🌐
DevTut
devtut.github.io › java › numberformat.html
Java - NumberFormat
numberFormat.setMinimumIntegerDigits(int digits) numberFormat.setMaximumIntegerDigits(int digits) numberFormat.setMinimumFractionDigits(int digits) numberFormat.setMaximumFractionDigits(int digits)
🌐
Baeldung
baeldung.com › home › java › java numbers › number formatting in java
Number Formatting in Java | Baeldung
August 9, 2024 - In this article, we briefly explored different ways of number formatting in Java. As we can see, there’s no one best way to do this. Many approaches can be used, as each of them have their own characteristics. The code backing this article is available on GitHub.
🌐
Unicode
unicode-org.github.io › icu-docs › apidoc › dev › icu4j › com › ibm › icu › text › DecimalFormat.html
DecimalFormat (ICU4J 78)
To override currency rounding altogether, use setMinimumFractionDigits(int) and setMaximumFractionDigits(int) or setRoundingIncrement(java.math.BigDecimal). ... Stable ICU 54. ... Stable ICU 4.2. public void setCurrencyPluralInfo​(CurrencyPluralInfo newInfo) [icu] Sets a custom instance of CurrencyPluralInfo. CurrencyPluralInfo generates pattern strings for printing currency long names. Most users should not call this method directly. You should instead create your formatter via NumberFormat.getInstance(NumberFormat.PLURALCURRENCYSTYLE).
🌐
GitHub
github.com › StripesFramework › stripes › blob › master › stripes › src › main › java › net › sourceforge › stripes › format › NumberFormatter.java
stripes/stripes/src/main/java/net/sourceforge/stripes/format/NumberFormatter.java at master · StripesFramework/stripes
import java.text.NumberFormat; import java.text.DecimalFormat; import java.util.HashSet; import java.util.Locale; import java.util.Set; · /** * <p> * Formats numbers into localized Strings for display.
Author   StripesFramework
🌐
GeeksforGeeks
geeksforgeeks.org › java › numberformat-class-java
NumberFormat Class in Java - GeeksforGeeks
January 23, 2026 - NumberFormat is an abstract class used to format numbers into locale-specific strings and to parse formatted strings back into numbers. It supports multiple locales, making it ideal for internationalized Java applications.
🌐
ZetCode
zetcode.com › java › numberformat
Java NumberFormat - formatting numbers and currencies in Java
July 4, 2024 - Java NumberFormat tutorial shows how to format and parse numbers and currencies in Java. We set the number of fractional digits, round numbers, and group digits.
🌐
Unicode
unicode-org.github.io › icu-docs › apidoc › released › icu4j › com › ibm › icu › text › NumberFormat.html
NumberFormat (ICU4J 76)
IMPORTANT: New users are strongly encouraged to see if NumberFormatter fits their use case. Although not deprecated, this class, NumberFormat, is only provided for java.text.NumberFormat compatibility.
🌐
Intrexx
docs.intrexx.com › apidocs › jdk21 › api › java.base › java › text › NumberFormat.html
NumberFormat (Java SE 21 & JDK 21)
You can also control the display of numbers with such methods as setMinimumFractionDigits. If you want even more control over the format or parsing, or want to give your users more control, you can try casting the NumberFormat you get from the factory methods to a DecimalFormat or CompactNumberFormat depending on the factory method used.
🌐
Unicode
unicode-org.github.io › icu › userguide › format_parse › numbers
Formatting Numbers | ICU Documentation
NumberFormatter supports the formatting of: ... For number ranges, including currency and measurement unit ranges, see NumberRangeFormatter (Java).