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

UBool NumberFormat::isParseIntegerOnly ( void   )  const [inline, inherited]

Return true if this format will parse numbers as integers only. For example in the English locale, with ParseIntegerOnly true, the string "1234." would be parsed as the integer value 1234 and parsing would stop at the "." character. Of course, the exact format accepted by the parse operation is locale dependant and determined by sub-classes of NumberFormat.

Returns:
true if this format will parse numbers as integers only. ICU 2.0

Definition at line 1034 of file numfmt.h.

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

{
    return fParseIntegerOnly;
}


Generated by  Doxygen 1.6.0   Back to index