### Symptom

The Pay Component amount and the Pay Component field Calculated Amount (calculated-amount) uses a half-even rounding logic.

**Image/data in this KBA is from SAP internal systems, sample data, or demo systems. Any resemblance to real data is purely coincidental. **

### Environment

- SAP SuccessFactors HXM Suite
- SAP SuccessFactors Employee Central

### Reproducing the Issue

- The calculated-amount field is set with a maximum decimal place of 2.
- The calculation based on the Base Pay Component is carried out and the value to be persisted in the calculated-amount field is 101.065
- As the maximum decimal place is 2, using rounding logic this value (101.065) should be rounded to the value 101.07
- The calculated -amount value is rounded to 101.06

### Cause

THis is caused by the rounding logic that is used on this field. A half-even rounding logic is used.

### Resolution

A half-even rounding logic, rounds numbers with the following logic. If the number to round is exactly between 2 numbers (2.5, 1.55, 42.5) it will not round up, but instead rounds the value to the nearest neighbor which is even.

Below are some examples of the half-even rounding logic in play:

Rounding to whole number:

- 3.2 -> 3
- 3.4 -> 3
- 3.5 -> 4
- 4.5 -> 4
- 5.5 -> 6

Rounding to 1 decimal places:

- 3.21 -> 3.2
- 3.35 -> 3.4
- 3.45 -> 3.4
- 4.47 -> 4.5
- 5.64 -> 5.6

Round to 2 decimal places:

- 3.211 -> 3.21
- 3.455 -> 3.46
- 3.555 -> 3.56
- 3.565 -> 3.56
- 4.745 -> 4.74

**FAQ - Additional Information**

**Q)** Where can I get information on this topic from the Guides?

**A)** Guide: Business Rules Implementation Guide

Chapter: Round

**A)** Guide: Implementing Employee Compensation Data in Employee Central

Chapter: Pay Component Types: Number or Percentage

**A)** Guide: Data Object Tables in Employee Central - PayComponentRecurring

Chapter: Pay Component

### See Also

### Keywords

rounding, max fractions, max decimal places, maximum, decimal place, decimal place, calculated-amount, calculated amount, percentage,round , KBA , LOD-SF-EC-CMP , Compensation Information & One-Time Bonus , LOD-SF-EC-JOB , Job Information , Problem