Logo Search packages:      
Sourcecode: icu version File versions

void DecimalFormat::setNegativeSuffix ( const UnicodeString newValue ) [virtual]

Set the negative suffix.

Parameters:
newValuethe new value of the negative suffix to be set. Examples: 123% ICU 2.0

Definition at line 2815 of file decimfmt.cpp.

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

{
    fNegativeSuffix = newValue;
    delete fNegSuffixPattern;
    fNegSuffixPattern = 0;
}

Here is the caller graph for this function:


Generated by  Doxygen 1.6.0   Back to index