xs:fractionDigits
<xs:fractionDigits fixed = "( true |false
)" id = "ID
" value = "nonNegativeInteger
" > <!-- (xs:annotation?) --> </xs:fractionDigits>
The xs:fractionDigits
facet element is used when deriving from xs:decimal
(and its subtypes) by
restriction. It limits the number of non-zero digits allowed after
the decimal point to, at most, the number specified by the
value
attribute. This sets only
the maximum number of digits after the decimal point. If you want
to set the minimum number of digits required, you'll have to use
the xs:pattern
element instead.
If the fixed
attribute has the
value true
, then types derived
from this type are not allowed to override the value of fractionDigits
given here.