Hi folks,
I'm trying to build a pro-rata annual leave calculator based on the starting date of an employee.
I have it working but it's rounding the result to the nearest whole day. HR have asked that it calculates to the nearest half day.
By way of an example, an employee who started earlier this year had a pro-rata annual leave allowance of 20.6 days. This is currently being rounded to 21 days whereas HR would prefer it to round to 20.5 days.
Does anyone have a function that would work here?
Thanks,
Dave
I'm trying to build a pro-rata annual leave calculator based on the starting date of an employee.
I have it working but it's rounding the result to the nearest whole day. HR have asked that it calculates to the nearest half day.
By way of an example, an employee who started earlier this year had a pro-rata annual leave allowance of 20.6 days. This is currently being rounded to 21 days whereas HR would prefer it to round to 20.5 days.
Does anyone have a function that would work here?
Thanks,
Dave