Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Math Help?
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
Versions des environnements
Visual FoxPro:
VFP 8 SP1
OS:
Windows XP SP2
Network:
Windows 2003 Server
Database:
MS SQL Server
Divers
Thread ID:
01441951
Message ID:
01441955
Vues:
62
Kirk,

3 staff members can only handle 12 patients. 3*4. You need 2 more members to handle all the patients.

MembersNeeded = ceiling(NumberOfPatients/Ratio)

>Math has never been my strong suite, I thought I'd see if someone could give me the right way to figure this out.
>
>For a given shift, I have to check to see if there are enough people assigned based off a state mandated ratio of patient to staff. So for this example the ratio is 4:1. One staff member for each 4 patients.
>
>Example:
>
>1. I know how many patients are scheduled: 19
>2. I know how many staff members are scheduled: 3
>3) and I know the ratio is 4:1
>
>So do I divide the staff members by the number of patients?:
> 3 / 19 = 0.15
>
>This seems like the right way, but how do I compare the result 0.15 to my ratio and determine if it meets or exceeds the desired ratio?
>
>Thanks
>Kirk
If it's not broken, fix it until it is.


My Blog
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform