Logo Search packages:      
Sourcecode: icu version File versions

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

Set the positive prefix.

newValuethe new value of the the positive prefix to be set. Examples: +123, $123, sFr123 ICU 2.0

Definition at line 2752 of file decimfmt.cpp.

References fPositivePrefix.

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

    fPositivePrefix = newValue;
    delete fPosPrefixPattern;
    fPosPrefixPattern = 0;

Here is the caller graph for this function:

Generated by  Doxygen 1.6.0   Back to index