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/"
Slots
| Name | Cardinality and Range | Description | Inheritance |
|---|---|---|---|
| roundingDirection | 1 RoundingDirectionEnum |
Specifies the rounding 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
| used by | used in | type | used |
|---|---|---|---|
| InflationRateSpecification | finalRateRounding | range | Rounding |
| FloatingRateSpecification | finalRateRounding | range | Rounding |
| ObservationTerms | precision | range | Rounding |
| FloatingRateProcessingParameters | rounding | range | Rounding |
| CollateralInterestCalculationParameters | rounding | range | Rounding |
| CommodityPriceReturnTerms | rounding | range | Rounding |
| AveragingCalculation | precision | range | Rounding |
In Subsets
Identifier and Mapping Information
Schema Source
- from schema: https://w3id.org/lmodel/common-domain-model
Mappings
| Mapping Type | Mapped Value |
|---|---|
| self | common_domain_model:Rounding |
| native | common_domain_model:Rounding |
LinkML Source
Direct
name: Rounding
description: Defines rounding rules and precision to be used in the rounding of a
number.
in_subset:
- cdm_base_math
from_schema: https://w3id.org/lmodel/common-domain-model
slots:
- roundingDirection
- precision
slot_usage:
roundingDirection:
name: roundingDirection
description: Specifies the rounding rounding rule as up, down, or nearest.
Induced
name: Rounding
description: Defines rounding rules and precision to be used in the rounding of a
number.
in_subset:
- cdm_base_math
from_schema: https://w3id.org/lmodel/common-domain-model
slot_usage:
roundingDirection:
name: roundingDirection
description: Specifies the rounding rounding rule as up, down, or nearest.
attributes:
roundingDirection:
name: roundingDirection
description: Specifies the rounding rounding rule as up, down, or nearest.
from_schema: https://w3id.org/lmodel/common-domain-model
rank: 1000
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
rank: 1000
owner: Rounding
domain_of:
- Rounding
- ObservationTerms
- AveragingCalculation
range: integer