Package com.ibm.icu.number
Library for localized number formatting introduced in ICU 60; for usage, see com.ibm.icu.number.NumberFormatter.
-
Class Summary Class Description CompactNotation A class that defines the scientific notation style to be used when formatting numbers in NumberFormatter.CurrencyRounder A class that defines a rounding strategy parameterized by a currency to be used when formatting numbers in NumberFormatter.FormattedNumber The result of a number formatting operation.FractionRounder A class that defines a rounding strategy based on a number of fraction places and optionally significant digits to be used when formatting numbers in NumberFormatter.Grouper Deprecated. This API is a technical preview.IntegerWidth A class that defines the strategy for padding and truncating integers before the decimal separator.LocalizedNumberFormatter A NumberFormatter that has a locale associated with it; this means .format() methods are available.Notation A class that defines the notation style to be used when formatting numbers in NumberFormatter.NumberFormatter The main entrypoint to the localized number formatting library introduced in ICU 60.NumberFormatterSettings<T extends NumberFormatterSettings<?>> An abstract base class for specifying settings related to number formatting.Rounder A class that defines the rounding strategy to be used when formatting numbers in NumberFormatter.ScientificNotation A class that defines the scientific notation style to be used when formatting numbers in NumberFormatter.SimpleNotation A class that defines the simple notation style to be used when formatting numbers in NumberFormatter.UnlocalizedNumberFormatter A NumberFormatter that does not yet have a locale. -
Enum Summary Enum Description NumberFormatter.DecimalSeparatorDisplay An enum declaring how to render the decimal separator.NumberFormatter.SignDisplay An enum declaring how to denote positive and negative numbers.NumberFormatter.UnitWidth An enum declaring how to render units, including currencies.