Logo Search packages:      
Sourcecode: icu version File versions

void DecimalFormat::setSecondaryGroupingSize ( int32_t  newValue ) [virtual]

Set the secondary grouping size. If set to a value less than 1, then secondary grouping is turned off, and the primary grouping size is used for all intervals, not just the least significant.

Parameters:
newValuethe new value of the secondary grouping size.
See also:
getSecondaryGroupingSize
NumberFormat::setGroupingUsed
DecimalFormatSymbols::setGroupingSeparator ICU 2.4

Definition at line 3128 of file decimfmt.cpp.

Referenced by NumberFormatTest::TestSecondaryGrouping(), and unum_setAttribute().

{
    fGroupingSize2 = newValue;
}

Here is the caller graph for this function:


Generated by  Doxygen 1.6.0   Back to index