1.

In Currency Rounding Rules Detail Maintenance(sarruldt) Form, When Defining The First Range As 0 To 0.2600, Why Is It Not Possible To Use 0.2700 As The Lowest Ending Amount For The Next Range?

Answer»

After applying some computations, the resulting amount MAY come up as having 4 decimals. If RULES with only 2 decimals are defined, then the 4 decimals won't be covered by any of the rules. That is, Rule 0 - 0.24 rounds to 0; 0.25 - 0.74 rounds

to 0.50 and 0.75 - 1 rounds to 1. Given 24.2455, the decimals 0.2455 does not belong within any of the defined range. The NUMBER of decimals for the Round Amount will be based on CURRENCIES.CURRENCY_RTL_DEC. For a currency defined as having 2 decimals, then it will be rounded to 2 decimals. Therefore, in the SCARLET.FMB, the LOW_ENDING_AMT and HIGH_ENDING_AMT (for the range) have to be entered as 4 decimals.

The currency rounding rule range cannot overlap. Thus when the 1st range is 0 - 0.2700; the next range should start with 0.2701. If the first range is defined as 0 - 0.2659; the next range will start at 0.2660

After applying some computations, the resulting amount may come up as having 4 decimals. If rules with only 2 decimals are defined, then the 4 decimals won't be covered by any of the rules. That is, Rule 0 - 0.24 rounds to 0; 0.25 - 0.74 rounds

to 0.50 and 0.75 - 1 rounds to 1. Given 24.2455, the decimals 0.2455 does not belong within any of the defined range. The number of decimals for the Round Amount will be based on CURRENCIES.CURRENCY_RTL_DEC. For a currency defined as having 2 decimals, then it will be rounded to 2 decimals. Therefore, in the SCARLET.FMB, the LOW_ENDING_AMT and HIGH_ENDING_AMT (for the range) have to be entered as 4 decimals.

The currency rounding rule range cannot overlap. Thus when the 1st range is 0 - 0.2700; the next range should start with 0.2701. If the first range is defined as 0 - 0.2659; the next range will start at 0.2660



Discussion

No Comment Found