<xsd:simpleType name="RoundingDirectionEnum">
<xsd:annotation>
<xsd:documentation source="http://www.FpML.org" xml:lang="en">The method of rounding a fractional number.</xsd:documentation>
</xsd:annotation>
<xsd:restriction base="xsd:token">
<xsd:enumeration value="Up">
<xsd:annotation>
<xsd:documentation source="http://www.FpML.org" xml:lang="en">A fractional number will be rounded up to the specified number of decimal places (the precision). For example, 5.21 and 5.25 rounded up to 1 decimal place are 5.3 and 5.3 respectively.</xsd:documentation>
</xsd:annotation>
</xsd:enumeration>
<xsd:enumeration value="Down">
<xsd:annotation>
<xsd:documentation source="http://www.FpML.org" xml:lang="en">A fractional number will be rounded down to the specified number of decimal places (the precision). For example, 5.29 and 5.25 rounded down to 1 decimal place are 5.2 and 5.2 respectively.</xsd:documentation>
</xsd:annotation>
</xsd:enumeration>
<xsd:enumeration value="Nearest">
<xsd:annotation>
<xsd:documentation source="http://www.FpML.org" xml:lang="en">A fractional number will be rounded either up or down to the specified number of decimal places (the precision) depending on its value. For example, 5.24 would be rounded down to 5.2 and 5.25 would be rounded up to 5.3 if a precision of 1 decimal place were specified.</xsd:documentation>
</xsd:annotation>
</xsd:enumeration>
</xsd:restriction>
</xsd:simpleType>
|