| Constructor | Description |
|---|---|
CurrencyAmount(double number,
Currency currency) |
Constructs a new object given a double value and a currency.
|
CurrencyAmount(double number,
java.util.Currency currency) |
Constructs a new object given a double value and a Java currency.
|
CurrencyAmount(java.lang.Number number,
Currency currency) |
Constructs a new object given a number and a currency.
|
CurrencyAmount(java.lang.Number number,
java.util.Currency currency) |
Constructs a new object given a number and a Java currency.
|
| Modifier and Type | Method | Description |
|---|---|---|
Currency |
getCurrency() |
Returns the currency of this object.
|
public CurrencyAmount(java.lang.Number number,
Currency currency)
number - the numbercurrency - the currencypublic CurrencyAmount(double number,
Currency currency)
number - a double valuecurrency - the currencypublic CurrencyAmount(java.lang.Number number,
java.util.Currency currency)
number - the numbercurrency - the currencypublic CurrencyAmount(double number,
java.util.Currency currency)
number - a double valuecurrency - the currencypublic Currency getCurrency()
Copyright ? 2016 Unicode, Inc. and others.