Logo Search packages:      
Sourcecode: icu version File versions  Download package

CurrencyAmount::CurrencyAmount ( double  amount,
const UChar *  isoCode,
UErrorCode ec 

Construct an object with the given numeric amount and the given ISO currency code.

amount the amount of the given currency
isoCode the 3-letter ISO 4217 currency code; must not be NULL and must have length 3
ec input-output error code. If the isoCode is invalid, then this will be set to a failing value. ICU 3.0

Definition at line 25 of file curramt.cpp.

    Measure(Formattable(amount), new CurrencyUnit(isoCode, ec), ec) {

Generated by  Doxygen 1.6.0   Back to index