No Play Leave computation

An employee has been receiving the following ordinary wages every month

1. Basic salary
2. Cash in lieu of CPF
3. Transport allowance.

Much appreciate if you could advise us the no pay leave (3 days in July 2011)
formula based on the above wages.

Incomplete month of work for No Pay Leave applied computation:
Salary for
July 2011
Monthly Gross Pay*
Total number of working days in July 2011
Total number of days the employee actually worked in July 2011

*For your case, only Basic Salary is applicable (Transport allowance is applicable if it is a fixed quantamn and not on reimbursement basis).