xtce:NumberFormat

Element Information

Model

Attributes

QName Type Fixed Default Use Inheritable Annotation
maximumFractionDigits nonNegativeInteger optional
maximumIntegerDigits nonNegativeInteger optional
minimumFractionDigits nonNegativeInteger optional
minimumIntegerDigits nonNegativeInteger optional
negativePrefix string - optional
negativeSuffix string optional
notation restriction of string normal optional
numberBase xtce:RadixType optional
positivePrefix string optional
positiveSuffix string optional
showThousandsGrouping boolean true optional

Source

<element name="NumberFormat">
  <complexType>
    <attribute name="numberBase" type="xtce:RadixType" use="optional"/>
    <attribute name="minimumFractionDigits" type="nonNegativeInteger" use="optional"/>
    <attribute name="maximumFractionDigits" type="nonNegativeInteger" use="optional"/>
    <attribute name="minimumIntegerDigits" type="nonNegativeInteger" use="optional"/>
    <attribute name="maximumIntegerDigits" type="nonNegativeInteger" use="optional"/>
    <attribute name="negativeSuffix" type="string" use="optional"/>
    <attribute name="positiveSuffix" type="string" use="optional"/>
    <attribute name="negativePrefix" type="string" use="optional" default="-"/>
    <attribute name="positivePrefix" type="string" use="optional"/>
    <attribute name="showThousandsGrouping" type="boolean" use="optional" default="true"/>
    <attribute name="notation" use="optional" default="normal">
      <simpleType>
        <restriction base="string">
          <enumeration value="normal"/>
          <enumeration value="scientific"/>
          <enumeration value="engineering"/>
        </restriction>
      </simpleType>
    </attribute>
  </complexType>
</element>

Sample