U_CAPI int32_t unum_format ( const UNumberFormat* fmt, int32_t number, UChar* result, int32_t resultLength, UFieldPosition *pos, UErrorCode* status)

Format an integer using a UNumberFormat

Documentation

Format an integer using a UNumberFormat. The integer will be formatted according to the UNumberFormat's locale.
Returns:
The total buffer size needed; if greater than resultLength, the output was truncated.
Parameters:
fmt - The formatter to use.
number - The number to format.
result - A pointer to a buffer to receive the formatted number.
resultLength - The maximum size of result.
pos - If not 0, a UFieldPosition which will receive the information on a specific field.
status - A pointer to an UErrorCode to receive any errors
See Also:
unum_formatDouble
unum_parse
unum_parseDouble

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