Logo Search packages:      
Sourcecode: icu version File versions

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

Set the positive suffix.

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

Definition at line 2794 of file decimfmt.cpp.

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

{
    fPositiveSuffix = newValue;
    delete fPosSuffixPattern;
    fPosSuffixPattern = 0;
}

Here is the caller graph for this function:


Generated by  Doxygen 1.6.0   Back to index