SAP Knowledge Base Article - Public

3038297 - FTE calculation: 2 decimal places incorrect

Symptom

FTE rounding is inconsistent:

  • When using function ‘Calculate FTE based on Standard Hours()’
  • With standard system calculation. Taking consideration as per KBA- 2498292

Environment

SAP SuccessFactors Employee Central: Job Information

Reproducing the Issue

Whenever FTE is calculated based on function or system calculated, the rounding is sometimes rounded up and sometimes rounded down as shown in some examples below:

Values passed

FTE calculated

Actual result from division

Rounded towards

25/40

0.62

0.625

down

27/40

0.68

0.675

up

45/40

1.12

1.125

down

35/40

0.88

0.875

up

Resolution

  • Our engineering team confirm that this is expected calculation. The system uses a rounding method called "Half-even", sometimes also called "Bankers Rounding". This is one of the reason that why sometimes system rounds up and down sometimes.
    This is working as per system design. We found a link: https://wiki.c2.com/?BankersRounding but could be searched online for how it is.
  • If you do not wish to have a "half-even" rounding, On the configured OnChange rule for FTE calculation, you can add Round() function to the rule for calculating FTE to desired decimal places (example rounding with precision 2 and threshold 0.005).

See Also

Round() function

Keywords

FTE rounding, FTE incorrect, decimals, FTE, rounding. , KBA , LOD-SF-EC-JOB , Job Information , LOD-SF-EC , Employee Central , Problem

Product

SAP SuccessFactors Employee Central all versions ; SAP SuccessFactors HXM Core all versions