Operation

Two possible value : **>Above : rounding takes the next upper
value, according to the Value information (if any) or following the standard
calculation rules. **>Below : rounding takes the previous lower value,
according to the Value information (if any) or following the standard
calculation rules. example if amount is 131.235 and decimals is 2 Below : Value
is omitted **> 131.23 Value=5 **> 131.15 if Role is absolute Value=5
**> 131.20 if Role is Step Above (Whatever Role): Value is omitted **>
131.24 Value=5 **> 131.25

Attribute Information

Used By

Complex Type RoundingType

Source

<xs:attribute name="Operation" use="optional" default="Above">
  <xs:annotation>
    <xs:documentation>Two possible value : **>Above : rounding takes the next upper value, according to the Value information (if any) or following the standard calculation rules. **>Below : rounding takes the previous lower value, according to the Value information (if any) or following the standard calculation rules. example if amount is 131.235 and decimals is 2 Below : Value is omitted **> 131.23 Value=5 **> 131.15 if Role is absolute Value=5 **> 131.20 if Role is Step Above (Whatever Role): Value is omitted **> 131.24 Value=5 **> 131.25</xs:documentation>
  </xs:annotation>
  <xs:simpleType>
    <xs:restriction base="xs:string">
      <xs:enumeration value="Above"/>
      <xs:enumeration value="Below"/>
    </xs:restriction>
  </xs:simpleType>
</xs:attribute>

Sample