Constructor and Description |
---|
CurrencyAmount(double number,
Currency currency)
Constructs a new object given a double value and a currency.
|
CurrencyAmount(Number number,
Currency currency)
Constructs a new object given a number and a currency.
|
public CurrencyAmount(Number number, Currency currency)
number
- the numbercurrency
- the currencypublic CurrencyAmount(double number, Currency currency)
number
- a double valuecurrency
- the currencypublic Currency getCurrency()
Copyright (c) 2014 IBM Corporation and others.