Logo Search packages:      
Sourcecode: icu version File versions

int32_t DecimalFormat::getGroupingSize ( void   ) const

Return 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.

Returns:
the grouping size.
See also:
setGroupingSize
NumberFormat::isGroupingUsed
DecimalFormatSymbols::getGroupingSeparator ICU 2.0

Definition at line 3103 of file decimfmt.cpp.

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

{
    return fGroupingSize;
}

Here is the caller graph for this function:


Generated by  Doxygen 1.6.0   Back to index