U_CAPI UNumberFormat* unum_openPattern ( const UChar* pattern, int32_t patternLength, const char* locale, UErrorCode* status)

Open a new UNumberFormat for formatting and parsing numbers

Documentation

Open a new UNumberFormat for formatting and parsing numbers. A UNumberFormat may be used to format numbers in calls to unum_format, and to parse numbers in calls to unum_parse.
Returns:
A pointer to a UNumberFormat to use for formatting numbers, or 0 if an error occurred.
Parameters:
pattern - A pattern specifying the format to use.
patternLength - The number of characters in the pattern, or -1 if null-terminated.
locale - The locale specifying the formatting conventions
status - A pointer to an UErrorCode to receive any errors
See Also:
unum_open

alphabetic index hierarchy of classes


this page has been generated automatically by doc++

(c)opyright by Malte Zöckler, Roland Wunderling
contact: doc++@zib.de