Rounding rule formulas are provided to determine the way in which rounding should take place when a mass change of pricing records takes place. For example, the user may be carrying out a mass price increase of 10% to all materials in a particular material group. The user would like the system to round the new prices to .99 after the calculation. This can be accomplished with a rounding rule formula. A rounding rule formula is assigned when a mass pricing change is carried out. When looking at the code for the standard delivered rounding rule formulas or when writing your own, fields RV13A-KBETR and RV13A-CURCONV are used to assign the rounded value to. Following is a description of the rounding rule formulas delivered in the standard system.
ROUNDING RULE FORMULA 1: ROUND TO 9 DECIMAL PLACE
The amount is rounded down by one place and the decimal places of the rounded down amount are rounded up to 9.
Example:
Price $698.45 increased by 1%
Without rounding rule:
$705.43
With rounding rule:
$704.99
The last decimal point of the changed amount is rounded up to 9.
Example:
Price $777.03 increased by 1%
Without rounding rule:
$784.80
With rounding rule:
$784.89
ROUNDING RULE FORMULA 3: 5 RAPPEN ROUNDING
5 Rappen rounding. This is only possible if the currency is CHF (Swiss Franc)
Example:
Price 12.10 CHF increased by 1%
Without rounding rule:
12.22 CHF
With rounding rule:
12.20 CHF
Price 12.13 CHF increased by 1 CHF
Without rounding rule:
13.13 CHF
With rounding rule:
13.15 CHF
ROUNDING RULE FORMULA 4: 2 DIGITS AFTER COMMA
The system rounds down to 0 as of the second decimal place
Example:
Price $555.55 increased by 1%
Without rounding rule:
$561.11
With rounding rule:
$561.10
No comments:
Post a Comment