I need to have my database assess Room & Board @ $600 per month, and pro-rated for the first month and last month. So if the person comes in on May 10th, 31 days in that month of course. That person is there for the rest of that month, then leaves on Sept 21st. His rent will be 22 days multiplied by $600 divided by the 31 days (or 30 days depending on the month) for May. The charge of course for June, July, and Aug is $600 each. Then 20 days multiplied by $600 divided by the 30 days (or 31 days depending on the month) for Sept. The total should be $2625.8064. I would really appreciate any help that you can give me. The fields that I would use for this is as follows:
AdmissionDate, DischargeDate, RoomNBoard