The totalDigits facet
specifies the maximum number of decimal digits in a number
as a positive integer
The fractionDigits facet
specifies the maximum number of decimal digits to the right of the decimal
point as a non-negative integer
Applies to all number types
including byte, unsignedByte,
byte, integer, positiveInteger,
negativeInteger, nonNegativeInteger,
nonPositiveInteger,
int, unsignedInt, long,
unsignedLong, short,
unsignedShort and
number
You can specify at most two fractional digits or at most seven decimal digits, but not at least two fractional digits or exactly seven decimal digits