XSD decimal type The decimal data type is used to specify a numeric value. The following is an example of a decimal declaration in a schema: <xs:element name="prize" type="xs:decimal"/> An element in your document might look like this: <prize>999.50</prize> |