<numeric>

<numeric> (numeric value) represents the value part of a feature-value specification which contains a numeric value or range. [19.3 Other Atomic Feature Values]
Module iso-fs — Feature Structures
Attributes
value⚓︎ supplies a lower bound for the numeric value represented, and also (if max is not supplied) its upper bound.
Status Required
Datatype teidata.numeric
max⚓︎ supplies an upper bound for the numeric value represented.
Status Optional
Datatype teidata.numeric
trunc⚓︎ specifies whether the value represented should be truncated to give an integer value.
Status Optional
Datatype teidata.truthValue
Member of
Contained by
May contain Empty element
Note

It is an error to supply the max attribute in the absence of a value for the value attribute.

Example
<numeric value="42"/>

This represents the numeric value 42.

Example
<numeric value="42.45max="50trunc="true"/>

This represents any of the nine possible integer values between 42 and 50 inclusive. If the trunc attribute had the value FALSE, this example would represent any of the infinite number of numeric values between 42.45 and 50.0

Content model
<content>
 <empty/>
</content>
Schema Declaration
<rng:element name="numeric">
 <rng:ref name="att.global.attributes"/>
 <rng:ref name="att.global.rendition.attributes"/>
 <rng:ref name="att.global.linking.attributes"/>
 <rng:ref name="att.global.analytic.attributes"/>
 <rng:ref name="att.global.facs.attributes"/>
 <rng:ref name="att.global.change.attributes"/>
 <rng:ref name="att.global.responsibility.attributes"/>
 <rng:ref name="att.global.source.attributes"/>
 <rng:ref name="att.datcat.attributes"/>
 <rng:attribute name="value">
  <rng:ref name="teidata.numeric"/>
 </rng:attribute>
 <rng:optional>
  <rng:attribute name="max">
   <rng:ref name="teidata.numeric"/>
  </rng:attribute>
 </rng:optional>
 <rng:optional>
  <rng:attribute name="trunc">
   <rng:ref name="teidata.truthValue"/>
  </rng:attribute>
 </rng:optional>
 <rng:empty/>
</rng:element>
element numeric
{
   att.global.attributes,
   att.global.rendition.attributes,
   att.global.linking.attributes,
   att.global.analytic.attributes,
   att.global.facs.attributes,
   att.global.change.attributes,
   att.global.responsibility.attributes,
   att.global.source.attributes,
   att.datcat.attributes,
   attribute value { teidata.numeric },
   attribute max { teidata.numeric }?,
   attribute trunc { teidata.truthValue }?,
   empty
}