Logo Search packages:      
Sourcecode: icu version File versions

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

Set the grouping size. Grouping size is the number of digits between grouping separators in the integer portion of a number. For example, in the number "123,456.78", the grouping size is 3.

newValuethe new value of the grouping size.
See also:
DecimalFormatSymbols::setGroupingSeparator ICU 2.0

Definition at line 3112 of file decimfmt.cpp.

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

    fGroupingSize = newValue;

Here is the caller graph for this function:

Generated by  Doxygen 1.6.0   Back to index