Logo Search packages:      
Sourcecode: icu version File versions

void DecimalFormat::setDecimalSeparatorAlwaysShown ( UBool  newValue ) [virtual]

Allows you to set the behavior of the decimal separator with integers. (The decimal separator will always appear with decimals.)

newValueset TRUE if the decimal separator will always appear with decimals. Example: Decimal ON: 12345 -> 12345.; OFF: 12345 -> 12345 ICU 2.0

Definition at line 3146 of file decimfmt.cpp.

Referenced by MessageFormat::createIntegerFormat(), SimpleDateFormat::initialize(), SimpleDateFormat::processOverrideString(), IntlTestDecimalFormatAPI::testAPI(), and unum_setAttribute().

    fDecimalSeparatorAlwaysShown = newValue;

Here is the caller graph for this function:

Generated by  Doxygen 1.6.0   Back to index