java.lang.Number , Currency
| Access | Constructor and Description |
|---|---|
| public | CurrencyAmount(Number
the number number, Currency the currency currency)Constructs a new object given a number and a currency. |
| public | CurrencyAmount(double
a double value number, Currency the currency currency)Constructs a new object given a double value and a currency. |
| public | CurrencyAmount(Number
the number number, Currency the currency currency)Constructs a new object given a number and a Java currency. |
| public | CurrencyAmount(double
a double value number, Currency the currency currency)Constructs a new object given a double value and a Java currency. |
| Modifier and Type | Method and Description |
|---|---|
| public Currency |
| CurrencyAmount | back to summary |
|---|---|
| public CurrencyAmount(Number number, Currency currency) Constructs a new object given a number and a currency. | |
| CurrencyAmount | back to summary |
|---|---|
| public CurrencyAmount(double number, Currency currency) Constructs a new object given a double value and a currency. | |
| CurrencyAmount | back to summary |
|---|---|
| public CurrencyAmount(Number number, Currency currency) Constructs a new object given a number and a Java currency. | |
| CurrencyAmount | back to summary |
|---|---|
| public CurrencyAmount(double number, Currency currency) Constructs a new object given a double value and a Java currency. | |
| getCurrency | back to summary |
|---|---|
| public Currency getCurrency() Returns the currency of this object. | |