Rounding rules in Fairways Debt enable you to refine rates, so they can be as precise as you wish.
<standardLoan>
<phases>
<phase>
<indexing>
<index>
<advanced>
<interestRateComputation>
<roundingRuleFractional>
<precision> ... </precision>
<rateRoundingMethod> ... </rateRoundingMethod>
</roundingRuleFractional>
</interestRateComputation>
</advanced>
</index>
</indexing>
</phase>
</phases>
</standardLoan>
|
Tag |
Item |
Description |
|---|---|---|
|
roundingRuleFractional |
Main |
Rounding rules to apply. |
|
precision |
Secondary |
Denominator in the fraction 1/N. |
|
rateRoundingMethod |
Secondary |
Rounding method. |
To apply a rounding rule to a transaction:
- Add the <roundingRuleFractional> tags in the <interestRateComputation> tags of the transaction.
<standardLoan>
<phases>
<phase>
<indexing>
<index>
<advanced>
<interestRateComputation>
<roundingRuleFractional>
</roundingRuleFractional>
</interestRateComputation>
</advanced>
</index>
</indexing>
</phase>
</phases>
</standardLoan>
- Add the <precision> tags in the <roundingRuleFractional> tags.
<standardLoan>
<phases>
<phase>
<indexing>
<index>
<advanced>
<interestRateComputation>
<roundingRuleFractional>
<precision></precision>
</roundingRuleFractional>
</interestRateComputation>
</advanced>
</index>
</indexing>
</phase>
</phases>
</standardLoan>
- Enter the precision, i.e. the denominator in the fraction 1/N.
Note: The maximum precision is 10.000.000.
In this example, we enter a precision of 64.
<standardLoan>
<phases>
<phase>
<indexing>
<index>
<advanced>
<interestRateComputation>
<roundingRuleFractional>
<precision>64</precision>
</roundingRuleFractional>
</interestRateComputation>
</advanced>
</index>
</indexing>
</phase>
</phases>
</standardLoan>
- Add the <rateRoundingMethod> tags in the <roundingRuleFractional> tags.
<standardLoan>
<phases>
<phase>
<indexing>
<index>
<advanced>
<interestRateComputation>
<roundingRuleFractional>
<precision>64</precision>
<rateRoundingMethod></rateRoundingMethod>
</roundingRuleFractional>
</interestRateComputation>
</advanced>
</index>
</indexing>
</phase>
</phases>
</standardLoan>
- Enter a rounding method:
|
Rounding Method |
Content Name |
|---|---|
|
Nearest |
NEAREST |
|
Down |
DOWN |
|
Up |
UP |
|
Half down |
HALF_DOWN |
|
Half up |
HALF_UP |
In this example, we select the half down rounding method.
<standardLoan>
<phases>
<phase>
<indexing>
<index>
<advanced>
<interestRateComputation>
<roundingRuleFractional>
<precision>64</precision>
<rateRoundingMethod>HALF_DOWN</rateRoundingMethod>
</roundingRuleFractional>
</interestRateComputation>
</advanced>
</index>
</indexing>
</phase>
</phases>
</standardLoan>
The relevant fraction is automatically calculated using the entered precision, in this example 1/64 = 0,015625.