3.9.1 ST_Fraction (Fraction Type)
This simple type specifies numerical, floating point data in one of three ways.
The first form is the standard decimal form used by the XML Schema decimal datatype. Valid values for this form are all decimals in the range [-32768, 32767].
The second form is an integer number with a postfixed “f” character. Each integer represents 1/65536 so that a value of “65536f” equates to a decimal value of 1.0. Valid values for this form are all integers in the range [-2147483648, 2147418112] followed by the postfixed “f”.
The third form is equivalent to the second, except that the “f” postfixed character is replaced by the string “fd”. This is used when expressing angular measurements.
This simple type's contents are a restriction of the XML Schema string datatype.
The following XML Schema fragment defines the contents of this simple type:
<simpleType name="ST_Fraction"> <restriction base="xsd:string"/> </simpleType>