Class: Rounding
Defines rounding rules and precision to be used in the rounding of a number.
URI: common_domain_model:Rounding
classDiagram
class Rounding
click Rounding href "../Rounding/"
Rounding : precision
Rounding : roundingDirection
Rounding --> "1" RoundingDirectionEnum : roundingDirection
click RoundingDirectionEnum href "../RoundingDirectionEnum/"
| Name | Cardinality and Range | Description | Inheritance |
|---|---|---|---|
| roundingDirection | 1 RoundingDirectionEnum |
Specifies the rounding rule as up, down, or nearest | direct |
| precision | 0..1 Integer |
Specifies the rounding precision in terms of a number of decimal places when … | direct |
Usages
Section titled “Usages”| used by | used in | type | used |
|---|---|---|---|
| FloatingRateIndexDefinition | rounding | range | Rounding |
| ObservationTerms | precision | range | Rounding |
| FloatingRateSpecification | finalRateRounding | range | Rounding |
| InflationRateSpecification | finalRateRounding | range | Rounding |
| FloatingRateProcessingParameters | rounding | range | Rounding |
| CollateralInterestCalculationParameters | rounding | range | Rounding |
| CommodityPriceReturnTerms | rounding | range | Rounding |
| AveragingCalculation | precision | range | Rounding |
Identifier and Mapping Information
Section titled “Identifier and Mapping Information”Schema Source
Section titled “Schema Source”- from schema: https://w3id.org/lmodel/common-domain-model
Mappings
Section titled “Mappings”| Mapping Type | Mapped Value |
|---|---|
| self | common_domain_model:Rounding |
| native | common_domain_model:Rounding |
LinkML Source
Section titled “LinkML Source”Direct
Section titled “Direct”name: Roundingdescription: Defines rounding rules and precision to be used in the rounding of a number.from_schema: https://w3id.org/lmodel/common-domain-modelattributes: roundingDirection: name: roundingDirection description: Specifies the rounding rule as up, down, or nearest. from_schema: https://w3id.org/lmodel/common-domain-model/cdm_base_math domain_of: - TimeRounding - Rounding range: RoundingDirectionEnum required: true precision: name: precision description: Specifies the rounding precision in terms of a number of decimal places when the number is evaluated in decimal form (not percentage), e.g. 0.09876543 rounded to the nearest 5 decimal places is 0.0987654. from_schema: https://w3id.org/lmodel/common-domain-model/cdm_base_math rank: 1000 domain_of: - Rounding - ObservationTerms - AveragingCalculation range: integerInduced
Section titled “Induced”name: Roundingdescription: Defines rounding rules and precision to be used in the rounding of a number.from_schema: https://w3id.org/lmodel/common-domain-modelattributes: roundingDirection: name: roundingDirection description: Specifies the rounding rule as up, down, or nearest. from_schema: https://w3id.org/lmodel/common-domain-model/cdm_base_math owner: Rounding domain_of: - TimeRounding - Rounding range: RoundingDirectionEnum required: true precision: name: precision description: Specifies the rounding precision in terms of a number of decimal places when the number is evaluated in decimal form (not percentage), e.g. 0.09876543 rounded to the nearest 5 decimal places is 0.0987654. from_schema: https://w3id.org/lmodel/common-domain-model/cdm_base_math rank: 1000 owner: Rounding domain_of: - Rounding - ObservationTerms - AveragingCalculation range: integer