GME
13
|
Go to the source code of this file.
Variables | |
XERCES_CPP_NAMESPACE_BEGIN typedef JanitorMemFunCall < XMLBigDecimal > | CleanupType |
XERCES_CPP_NAMESPACE_BEGIN typedef JanitorMemFunCall<XMLBigDecimal> CleanupType |
Constructs a BigDecimal from a string containing an optional (plus | minus) sign followed by a sequence of zero or more decimal digits, optionally followed by a fraction, which consists of a decimal point followed by zero or more decimal digits. The string must contain at least one digit in the integer or fractional part. The scale of the resulting BigDecimal will be the number of digits to the right of the decimal point in the string, or 0 if the string contains no decimal point. Any extraneous characters (including whitespace) will result in a NumberFormatException.
since parseBigDecimal() may throw exception, caller of XMLBigDecimal need to catch it.
Definition at line 51 of file XMLBigDecimal.cpp.