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

UnicodeString & NumberFormat::format ( int64_t  number,
UnicodeString appendTo 
) const [inherited]

Format an int64 number. These methods call the NumberFormat pure virtual format() methods with the default FieldPosition.

number The value to be formatted.
appendTo Output parameter to receive result. Result is appended to existing contents.
Reference to 'appendTo' parameter. ICU 2.8

Reimplemented in DecimalFormat.

Definition at line 563 of file numfmt.cpp.

References NumberFormat::format().

    FieldPosition pos(0);
    return format(number, appendTo, pos);

Generated by  Doxygen 1.6.0   Back to index