Logo Search packages:      
Sourcecode: icu version File versions

UnicodeString & DecimalFormat::getNegativePrefix ( UnicodeString result ) const

Get the negative prefix.

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

Definition at line 2763 of file decimfmt.cpp.

Referenced by SimpleDateFormat::parseInt(), NumberFormatRegressionTest::Test4212072(), IntlTestDecimalFormatAPI::testAPI(), and unum_getTextAttribute().

{
    result = fNegativePrefix;
    return result;
}

Here is the caller graph for this function:


Generated by  Doxygen 1.6.0   Back to index