simpleType "RoundingDirectionEnum"

Namespace: | http://www.fpml.org/FpML-5/transparency
Defined: | globally in fpml-enum-5-3.xsd; see XML source
Used: | at 1 location

Simple Content Model
enumeration of xsd:token

Simple Content Restrictions:

Enumeration: |
"Up" | - | 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. See: http://www.FpML.org
"Down" | - | 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. See: http://www.FpML.org
"Nearest" | - | 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. See: http://www.FpML.org

All Direct / Indirect Based Elements (1):

  roundingDirection

Known Usage Locations

- As direct type of elements (1):
  roundingDirection

Annotation
The method of rounding a fractional number.
See: http://www.FpML.org
Type Definition Detail

Type Derivation Tree xsd:token (restriction) RoundingDirectionEnum

Derivation: | restriction of xsd:token
Facets: |
enumeration: |
"Up" | - | 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. See: http://www.FpML.org
"Down" | - | 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. See: http://www.FpML.org
"Nearest" | - | 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. See: http://www.FpML.org

XML Source (w/o annotations (4); see within schema source)

<xsd:simpleType name="RoundingDirectionEnum"> <xsd:restriction base="xsd:token"> <xsd:enumeration value="Up"/> <xsd:enumeration value="Down"/> <xsd:enumeration value="Nearest"/> </xsd:restriction> </xsd:simpleType>

XML schema documentation generated with DocFlex/XML 1.8.6b2 using DocFlex/XML XSDDoc 2.5.1 template set. All content model diagrams generated by Altova XMLSpy via DocFlex/XML XMLSpy Integration.