Logo Search packages:      
Sourcecode: icu version File versions  Download package

UBool NumberFormat::isGroupingUsed ( void   )  const [inherited]

Returns true if grouping is used in this format. For example, in the English locale, with grouping on, the number 1234567 might be formatted as "1,234,567". The grouping separator as well as the size of each group is locale dependant and is determined by sub-classes of NumberFormat.

See also:
setGroupingUsed ICU 2.0

Definition at line 902 of file numfmt.cpp.

Referenced by DecimalFormat::isGroupingPosition(), DecimalFormat::subparse(), IntlTestNumberFormatAPI::testAPI(), DecimalFormat::toPattern(), and unum_getAttribute().

    return fGroupingUsed;

Generated by  Doxygen 1.6.0   Back to index