Logo Search packages:      
Sourcecode: icu version File versions

DecimalFormat::DecimalFormat ( UErrorCode status )

Create a DecimalFormat using the default pattern and symbols for the default locale. This is a convenient way to obtain a DecimalFormat when internationalization is not the main concern.

To obtain standard formats for a given locale, use the factory methods on NumberFormat such as createInstance. These factories will return the most appropriate sub-class of NumberFormat for a given locale.

statusOutput param set to success/failure code. If the pattern is invalid this will be set to a failure code. ICU 2.0

Definition at line 246 of file decimfmt.cpp.

References construct(), DecimalFormat(), and init().

Referenced by DecimalFormat().

    UParseError parseError;
    construct(status, parseError);

Here is the call graph for this function:

Here is the caller graph for this function:

Generated by  Doxygen 1.6.0   Back to index