Partager via


XSDfractionDigits Property

Contains the XML Schema Definition (XSD) fractionDigits value, which appears to the right of the decimal point.

Note   XSDfractionDigits is disregarded unless XMLFieldXSDtype has a nonempty value.

The following XMLAdapter methods populate the XSDfractionDigits property as appropriate:

XMLField.XSDfractionDigits

Property Values

Character data type. XSDfractionDigits specifies the XSD fraction digits.

Remarks

When generating XML using the XMLAdapterToXML method, you can set this property to specify the fractionDigits restriction in the XSD schema. You might need this behavior when the fractionDigits value required for the schema differs from what Visual FoxPro would otherwise calculate. Visual FoxPro does not perform validation in this situation; therefore, you need to make sure the data conforms to the restrictions imposed by fractionDigits.

See Also

Properties | XMLField Object Properties, Methods, and Events | XSDtype Property | XMLAdapter Class | ToXML Method

Applies To: XMLField Class