Methods Summary |
---|
public abstract java.text.NumberFormat | getCurrencyInstance(java.util.Locale locale)Returns a new NumberFormat instance which formats
monetary values for the specified locale.
|
public abstract java.text.NumberFormat | getIntegerInstance(java.util.Locale locale)Returns a new NumberFormat instance which formats
integer values for the specified locale.
The returned number format is configured to
round floating point numbers to the nearest integer using
half-even rounding (see {@link java.math.RoundingMode#HALF_EVEN HALF_EVEN})
for formatting, and to parse only the integer part of
an input string (see {@link
java.text.NumberFormat#isParseIntegerOnly isParseIntegerOnly}).
|
public abstract java.text.NumberFormat | getNumberInstance(java.util.Locale locale)Returns a new general-purpose NumberFormat instance for
the specified locale.
|
public abstract java.text.NumberFormat | getPercentInstance(java.util.Locale locale)Returns a new NumberFormat instance which formats
percentage values for the specified locale.
|