DUe to I'm using the computerised system.
The system/payslip will show the period 01/4 ~ 30/4, so we have to deduct for 22/4 till 30/4. So did you mean the deduction formula as below's
RM5000 / 30 * 9 days = RM1500
What if the month in May, should we divide by 31 ? or 30 days