Depends. If it is a monthly salary, then (A) is correct, save I'd use
working days in the month (16/21).
If it is truly annual, then calculate the working days for the year
and pro-rate accordingly.
On Jun 15, 2009, at 5:53 PM, Sujit Shah wrote:
> I would like to hear from people who have experience in developing
> software for payroll:
>
> If a person works from 01/01/09 to 23/05/09 and his/her wages are
> $48000 per annum.
>
> Would his/her earnings be:
>
> (A)
> $4000*4+23/31*$4000=$12000+$2967.74
>
> or
>
> (B)
> $4000*4+23/365*$48000=$12000+$3024.65 (Non Leap Year)
>
> $4000*4+23/366*$48000=$12000+$3016.40 (Leap Year)
>
> Is there a general consensus/ common practice on this?
> **********************************************************************
> Register for 4D Summit 2009 Today
> Early Bird Pricing Ends August 28th -
http://www.4d.com/summit>
> 4D Internet Users Group (4D iNUG)
> FAQ:
http://www.4D.com/support/faqnug.html> Archive:
http://lists.4D.com/archives.html> Options:
https://lists.4d.com/mailman/options/4d_tech> Unsub: mailto:
4D_Tech-Unsubscribe@...
> **********************************************************************
_________________________________________
Bob McKeever
http://www.mswl.comMcKeever's Software Wizardry
Maple Ridge, B.C.
bobmckeever@...
**********************************************************************
Register for 4D Summit 2009 Today
Early Bird Pricing Ends August 28th -
http://www.4d.com/summit4D Internet Users Group (4D iNUG)
FAQ:
http://www.4D.com/support/faqnug.htmlArchive:
http://lists.4D.com/archives.htmlOptions:
https://lists.4d.com/mailman/options/4d_techUnsub: mailto:
4D_Tech-Unsubscribe@...
**********************************************************************