Logo Search packages:      
Sourcecode: icu version File versions

UnicodeString & DecimalFormat::getNegativeSuffix ( UnicodeString result ) const

Get the negative suffix.

Parameters:
resultOutput param which will receive the negative suffix.
Returns:
A reference to 'result'. Examples: -123%, ($123) (with positive suffixes) ICU 2.0

Definition at line 2805 of file decimfmt.cpp.

Referenced by IntlTestDecimalFormatAPI::testAPI(), and unum_getTextAttribute().

{
    result = fNegativeSuffix;
    return result;
}

Here is the caller graph for this function:


Generated by  Doxygen 1.6.0   Back to index