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

virtual UnicodeString& NumberFormat::format ( int32_t  number,
UnicodeString appendTo,
FieldPosition pos 
) const [pure virtual]

Format a long number. Concrete subclasses must implement these pure virtual methods.

Parameters:
number The value to be formatted.
appendTo Output parameter to receive result. Result is appended to existing contents.
pos On input: an alignment field, if desired. On output: the offsets of the alignment field.
Returns:
Reference to 'appendTo' parameter. ICU 2.0

Implemented in ChoiceFormat, DecimalFormat, and RuleBasedNumberFormat.


Generated by  Doxygen 1.6.0   Back to index