| Package | Description |
|---|---|
| com.ibm.icu.number | |
| com.ibm.icu.text | |
| com.ibm.icu.util |
| Modifier and Type | Method and Description |
|---|---|
static CurrencyPrecision |
Precision.currency(Currency.CurrencyUsage currencyUsage)
Show numbers rounded and padded according to the rules for the currency unit.
|
| Modifier and Type | Method and Description |
|---|---|
Currency.CurrencyUsage |
DecimalFormat.getCurrencyUsage()
[icu] Returns the strategy for rounding currency amounts.
|
| Modifier and Type | Method and Description |
|---|---|
CurrencyMetaInfo.CurrencyDigits |
CurrencyMetaInfo.currencyDigits(String isoCode,
Currency.CurrencyUsage currencyUsage)
Returns the CurrencyDigits for the currency code with Context Usage.
|
void |
DecimalFormat.setCurrencyUsage(Currency.CurrencyUsage usage)
[icu] Sets the currency-dependent strategy to use when rounding numbers.
|
| Modifier and Type | Method and Description |
|---|---|
static Currency.CurrencyUsage |
Currency.CurrencyUsage.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Currency.CurrencyUsage[] |
Currency.CurrencyUsage.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
| Modifier and Type | Method and Description |
|---|---|
int |
Currency.getDefaultFractionDigits(Currency.CurrencyUsage Usage)
Returns the number of the number of fraction digits that should
be displayed for this currency with Usage.
|
double |
Currency.getRoundingIncrement(Currency.CurrencyUsage Usage)
Returns the rounding increment for this currency, or 0.0 if no
rounding is done by this currency with the Usage.
|
Copyright © 2016 Unicode, Inc. and others.