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

NumberFormat *U_EXPORT2 NumberFormat::createInstance ( const Locale inLocale,
UErrorCode status 
) [static, inherited]

Returns the default number format for the specified locale. The default format is one of the styles provided by the other factory methods: getNumberInstance, getCurrencyInstance or getPercentInstance. Exactly which one is locale dependant.

Parameters:
inLocale the given locale. ICU 2.0

Definition at line 634 of file numfmt.cpp.

References NumberFormat::createInstance().

{
    return createInstance(inLocale, kNumberStyle, status);
}


Generated by  Doxygen 1.6.0   Back to index