The float data type represents a 32-bit, single-precision Institute of Electrical and Electronics Engineers (IEEE) floating-point number. : float « XML Schema « XML Tutorial






<!-- schema -->
<xsd:element name="charge">
  <xsd:simpleType>
   <xsd:restriction base="xsd:float">
    <xsd:minExclusive value="1.00"/>
    <xsd:maxExlusive value="100.00"/>
   </xsd:restriction>
  </xsd:simpleType>
</xsd:element>
<!-- instance document -->
<charge>19.99</charge>








3.12.float
3.12.1.The float data type represents a 32-bit, single-precision Institute of Electrical and Electronics Engineers (IEEE) floating-point number.
3.12.2.Use float data type