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

UnicodeString & RuleBasedNumberFormat::format ( int64_t  number,
UnicodeString toAppendTo,
FieldPosition pos 
) const [virtual]

Formats the specified 64-bit number using the default ruleset.

Parameters:
number The number to format.
toAppendTo the string that will hold the (appended) result
pos the fieldposition
Returns:
A textual representation of the number. ICU 2.1

Reimplemented from NumberFormat.

Definition at line 1054 of file rbnf.cpp.

References UnicodeString::length().

{
    if (defaultRuleSet) defaultRuleSet->format(number, toAppendTo, toAppendTo.length());
    return toAppendTo;
}


Generated by  Doxygen 1.6.0   Back to index