Iam doing Earned Leave module..from jan to dec..totdays=150 (an employee worked) EL days=for 20 days 1 day pay (ie) totdays/20 150/20 =7.5 eldays to be paid to an employee while dividing by 20 if the decimal place falls between .1 and .5 should be assigned to .5 and the result should be 7.5
while dividing by 20 if the decimal place falls > .5(for example 7.7,7.8 and so on) should be assigned to 1 and the result should be 8