I have a very simple schema that I would like to return a price from
(below). However when I generate output the prices are returned in
scientific notation. Is there a way to suppress the scientific notation
output?

 

Thank you for your help

Joe 

 

 

 

<xs:schema xmlns="urn:rt" xmlns:xs="http://www.w3.org/2001/XMLSchema";

      targetNamespace="urn:rt" elementFormDefault="qualified">

      <xs:simpleType name="money">

            <xs:restriction base="xs:decimal">

            <xs:

                  <xs:fractionDigits value="2" />

            </xs:restriction>

      </xs:simpleType>

      <xs:simpleType name="price">

            <xs:restriction base="xs:decimal">

                  <xs:fractionDigits value="2"/>

            </xs:restriction>

      </xs:simpleType>

</xs:schema>

Reply via email to