| Package | Description |
|---|---|
| com.ibm.icu.number | |
| com.ibm.icu.text |
| Modifier and Type | Method and Description |
|---|---|
FormattedNumber |
LocalizedNumberFormatter.format(double input)
Format the given float or double to a string using the settings specified in the NumberFormatter
fluent setting chain.
|
FormattedNumber |
LocalizedNumberFormatter.format(long input)
Format the given byte, short, int, or long to a string using the settings specified in the
NumberFormatter fluent setting chain.
|
FormattedNumber |
LocalizedNumberFormatter.format(Measure input)
Format the given
Measure or CurrencyAmount to a string using the settings
specified in the NumberFormatter fluent setting chain. |
FormattedNumber |
LocalizedNumberFormatter.format(Number input)
Format the given
BigInteger, BigDecimal, or other Number to a string using
the settings specified in the NumberFormatter fluent setting chain. |
| Modifier and Type | Method and Description |
|---|---|
String |
PluralRules.select(FormattedNumber number)
Given a formatted number, returns the keyword of the first rule that
applies to the number.
|
Copyright © 2016 Unicode, Inc. and others.