Logo Search packages:      
Sourcecode: icu version File versions

UnicodeString & DecimalFormat::format ( int64_t  number,
UnicodeString appendTo,
FieldPosition pos 
) const [virtual]

Format an int64 number using base-10 representation.

Parameters:
numberThe value to be formatted.
appendToOutput parameter to receive result. Result is appended to existing contents.
posOn input: an alignment field, if desired. On output: the offsets of the alignment field.
Returns:
Reference to 'appendTo' parameter. ICU 2.8

Reimplemented from NumberFormat.

Definition at line 942 of file decimfmt.cpp.

{
    FieldPositionOnlyHandler handler(fieldPosition);
    return _format(number, appendTo, handler);
}

Generated by  Doxygen 1.6.0   Back to index