# XML Schema Documentation

### Complex Type: Rounding

#### [Table of contents]

Super-types: | None
Sub-types: | None

Name | Rounding
Used by (from the same schema document) | Complex Type FloatingRateCalculation
Abstract | no
Documentation | A type defining a rounding direction and precision to be used in the rounding of a rate.

XML Instance Representation
<...>
<roundingDirection> RoundingDirectionEnum </roundingDirection> [1]

'Specifies the rounding direction.'

<precision> xsd:nonNegativeInteger </precision> [1]

'Specifies the rounding precision in terms of a number of decimal places. Note how a percentage rate rounding of 5 decimal places is expressed as a rounding precision of 7 in the FpML document since the percentage is expressed as a decimal, e.g. 9.876543% (or 0.09876543) being rounded to the nearest 5 decimal places is 9.87654% (or 0.0987654).'

</...>
Diagram
Schema Component Representation
<xsd:complexType name="Rounding">
<xsd:sequence>
<xsd:element name="roundingDirection" type=" RoundingDirectionEnum "/>
<xsd:element name="precision" type=" xsd:nonNegativeInteger "/>
</xsd:sequence>
</xsd:complexType>