Certain bonds will follow certain rounding conventions. For example, Thai government bonds will round accrued interest and cashflow values 2dp, whereas for French government bonds, the rounding is to 7dp.
More...
|
| int | Precision [get, set] |
| | The precision of the rounding. The decimal places or significant figures to which the rounding takes place. Defaults to 0 if not set. More...
|
| |
| string | RoundingType [get, set] |
| | The type of rounding. Default value: None. Available values: None, Down, Up, Nearest. More...
|
| |
Certain bonds will follow certain rounding conventions. For example, Thai government bonds will round accrued interest and cashflow values 2dp, whereas for French government bonds, the rounding is to 7dp.
◆ SimpleRoundingConvention()
| Lusid.Sdk.Model.SimpleRoundingConvention.SimpleRoundingConvention |
( |
int |
precision = default(int), |
|
|
string |
roundingType = default(string) |
|
) |
| |
|
inline |
Initializes a new instance of the SimpleRoundingConvention class.
- Parameters
-
| precision | The precision of the rounding. The decimal places or significant figures to which the rounding takes place. Defaults to 0 if not set.. |
| roundingType | The type of rounding. Default value: None. Available values: None, Down, Up, Nearest.. |
◆ Equals() [1/2]
| override bool Lusid.Sdk.Model.SimpleRoundingConvention.Equals |
( |
object |
input | ) |
|
|
inline |
Returns true if objects are equal
- Parameters
-
| input | Object to be compared |
- Returns
- Boolean
◆ Equals() [2/2]
◆ GetHashCode()
| override int Lusid.Sdk.Model.SimpleRoundingConvention.GetHashCode |
( |
| ) |
|
|
inline |
Gets the hash code
- Returns
- Hash code
◆ ToJson()
| virtual string Lusid.Sdk.Model.SimpleRoundingConvention.ToJson |
( |
| ) |
|
|
inlinevirtual |
Returns the JSON string presentation of the object
- Returns
- JSON string presentation of the object
◆ ToString()
| override string Lusid.Sdk.Model.SimpleRoundingConvention.ToString |
( |
| ) |
|
|
inline |
Returns the string presentation of the object
- Returns
- String presentation of the object
◆ Precision
| int Lusid.Sdk.Model.SimpleRoundingConvention.Precision |
|
getset |
The precision of the rounding. The decimal places or significant figures to which the rounding takes place. Defaults to 0 if not set.
The precision of the rounding. The decimal places or significant figures to which the rounding takes place. Defaults to 0 if not set.
◆ RoundingType
| string Lusid.Sdk.Model.SimpleRoundingConvention.RoundingType |
|
getset |
The type of rounding. Default value: None. Available values: None, Down, Up, Nearest.
The type of rounding. Default value: None. Available values: None, Down, Up, Nearest.
The documentation for this class was generated from the following file:
- /home/docs/checkouts/readthedocs.org/user_builds/lusid-sdk-csharp/checkouts/latest/sdk/Lusid.Sdk/Model/SimpleRoundingConvention.cs