Absence : not full day

Question: I have to valuate absences in payroll according to following rule :
- if absence is less than 50% of the day no absence
- if absence is over 50 % of the day 1 day of absence.

Up to now, we use "AT" in T554C for function PAB.
In a subsequent rule, we use operation ROUNDA 100.

But, If someone has two different absences of 50% on the same day, this method gives a total of 2 absences days .

How could I limit this absence to 1 day ?
Thanks,
_________________
Piku

Answer:
Hi Piku,

I'm not a calculation-rule expert (far from that) but how about having an extra decision at the end of your rule, stating that if your parameter (which counts te absence days) is >=2, that it should be overwritten by 1.

Willie.
Copyright ?2007 - 2008 www.jt77.com