Logo Search packages:      
Sourcecode: icu version File versions

U_STABLE int32_t U_EXPORT2 ucurr_getDefaultFractionDigits ( const UChar *  currency,
UErrorCode ec 

Returns the number of the number of fraction digits that should be displayed for the given currency.

currency null-terminated 3-letter ISO 4217 code
ec input-output error code
a non-negative number of fraction digits to be displayed, or 0 if there is an error ICU 3.0

Definition at line 1418 of file ucurr.cpp.

    return (_findMetaData(currency, *ec))[0];

Generated by  Doxygen 1.6.0   Back to index