<xsd:simpleType name="RoundingRuleCodeEnumType">
<xsd:annotation>
<xsd:documentation>This code is for documentation purpose only. The RoundingRuleCode is of oa:CodeType.</xsd:documentation>
</xsd:annotation>
<xsd:restriction base="xsd:normalizedString">
<xsd:enumeration value="RoundDown">
<xsd:annotation>
<xsd:documentation>round-down: The discarded digits are ignored; the result is unchanged (round toward 0, truncate):
1.123 --> 1.12
1.128 --> 1.12
1.125 --> 1.12
1.135 --> 1.13
</xsd:documentation>
</xsd:annotation>
</xsd:enumeration>
<xsd:enumeration value="RoundHalfDown">
<xsd:annotation>
<xsd:documentation>
round-half-down: If the discarded digits represent greater than half (0.5) then the result is incremented by 1; otherwise the discarded digits are ignored:
1.123 --> 1.12
1.128 --> 1.13
1.125 --> 1.12
1.135 --> 1.13
</xsd:documentation>
</xsd:annotation>
</xsd:enumeration>
<xsd:enumeration value="RoundUp">
<xsd:annotation>
<xsd:documentation>round-up: Round away from 0: If all of the discarded digits are zero the result is unchanged, otherwise the result is incremented by 1
1.123 --> 1.13
1.128 --> 1.13
1.125 --> 1.13
1.135 --> 1.14
</xsd:documentation>
</xsd:annotation>
</xsd:enumeration>
<xsd:enumeration value="RoundHalfUp">
<xsd:annotation>
<xsd:documentation>round-half-up: If the discarded digits represent greater than or equal to half (0.5) then the result should be incremented by 1; otherwise the discarded digits are ignored:
1.123 --> 1.12
1.128 --> 1.13
1.125 --> 1.13
1.135 --> 1.14 </xsd:documentation>
</xsd:annotation>
</xsd:enumeration>
<xsd:enumeration value="RoundHalfEven">
<xsd:annotation>
<xsd:documentation>round-half-even: If the discarded digits represent greater than half (0.5) then the result coefficient is incremented by 1; if they represent less than half, then the result is not adjusted; otherwise the result is unaltered if its rightmost digit is even, or incremented by 1 if its rightmost digit is odd (to make an even digit):
1.123 --> 1.12
1.128 --> 1.13
1.125 --> 1.12
1.135 --> 1.14
</xsd:documentation>
</xsd:annotation>
</xsd:enumeration>
<xsd:enumeration value="RoundCeiling">
<xsd:annotation>
<xsd:documentation>
round-ceiling: Round toward positive infinity: If all of the discarded digits are zero or if the sign is negative the result is unchanged; otherwise, the result is incremented by 1
1.123 --> 1.13
1.128 --> 1.13
-1.123 --> -1.12
-1.128 --> -1.12
</xsd:documentation>
</xsd:annotation>
</xsd:enumeration>
<xsd:enumeration value="RoundFloor">
<xsd:annotation>
<xsd:documentation>
round-floor: Round toward negative infinty: If all of the discarded digits are zero or if the sign is positive the result is unchanged; otherwise, the absolute value of the result is incremented by 1
1.123 --> 1.12
1.128 --> 1.12
-1.123 --> -1.13
-1.128 --> -1.13
5.0, 5.1, 5.2, 5.3, 5.4, 5.5, 5.6, 5.7, 5.8, and 5.9 will all be rounded to 5</xsd:documentation>
</xsd:annotation>
</xsd:enumeration>
</xsd:restriction>
</xsd:simpleType>
|