Name

xs:fractionDigits — Allows you to specify the number of significant digits to the right of the decimal separator

Applies to

xs:decimal

Attributes

fixed

An xs:boolean; true or false, defaulting to false

value

An xs:nonNegativeInteger

Operation

The number in value specifies the number of significant digits allowed after the decimal point. Despite the presence of other numeric types with fractional values, xs:fractionDigits is only available for use with xs:decimal.

Get XML Pocket Reference, 3rd Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.