if ( (fFacetsDefined & DatatypeValidator.FACET_FRACTIONDIGITS)!=0 ) {
if ( d.scale() > fFractionDigits )
throw new InvalidDatatypeValueException(
getErrorString(DatatypeMessageProvider.FRACTION_EXCEEDED,
DatatypeMessageProvider.MSG_NONE,
new Object[] { "'" + content + "'" + " with fractionDigits = '"+ d.scale() +"'"
, "'" + fFractionDigits + "'"}));
}
if ( (fFacetsDefined & DatatypeValidator.FACET_TOTALDIGITS)!=0 ) {
int totalDigits = d.movePointRight(d.scale()).toString().length() -
((d.signum() < 0) ? 1 : 0); // account for minus sign