Rounding Rules
When you resolve an element that is a numerical value, you often need to round the resulting value. You'll use rounding rules to do this.
After you define a rounding rule element, apply it to other elements. The rounding rule can be applied to any component of an earning or deduction, to the resolved amount of an earning or deduction, or within a formula.
The following table describes the delivered rounding rules that PeopleSoft Global Payroll for Spain provides as guidelines:
| Rounding Rule | Logic | Delivered System Uses |
|---|---|---|
|
GEN RR REDONDEO |
Rounds to 2 decimals. Rounds upward if the rounding adjustment number is greater than or equal to 5. Rounds downward if the rounding adjustment number is less than 5. |
The system uses this rounding rule to round nonmonetary amounts. |
|
GEN RR TRUNC 2DEC |
Truncates to 2 decimals. |
The system uses this rounding rule during tax percentage calculation. |
|
GEN RR LEGAL |
Rounds to 2 decimals. Rounds upward if the rounding adjustment number is greater than or equal to 5. Rounds downward if the rounding adjustment number is less than 5. |
The system uses this rounding rule to round monetary amounts. PeopleSoft Global Payroll for Spain uses it to round euros. |
|
GEN RR TRUNC 0DEC |
Truncates to 0 decimals. |
The system uses this rounding rule during preparation of FAN file values. |
|
GEN RR REDOND 4DEC |
Rounds to 4 decimals. Rounds upward if the rounding adjustment number is greater than or equal to 5. Rounds downward if the rounding adjustment number is less than 5. |
The system uses this rounding rule during vacation entitlement calculation. |
|
GEN RR REDOND 0DEC |
Rounds to 0 decimals. Rounds upward if the rounding adjustment number is greater than or equal to 5. Rounds downward if the rounding adjustment number is less than 5. |
The system uses this rounding rule when calculating the IRPF percentage. |
|
FNQ RR D VACACIONS |
Truncates to 0 decimals. |
The system uses this rounding rule when calculating vacation days for terminated employees. |
|
SS RR BASES |
Rounds to 2 decimals. Rounds upward if the rounding adjustment number is greater than or equal to 5. Rounds downward if the rounding adjustment number is less than 5. |
The system uses this rounding rule when calculating social security bases. |