Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Looking for a formula
Message
De
29/06/2001 18:02:22
 
 
À
29/06/2001 17:58:02
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00525489
Message ID:
00525493
Vues:
16
This message has been marked as the solution to the initial question of the thread.
Michel

>I'm looking for a formula. Assuming I have a rate of 1, 2, 3, 4, and 5. I then have 2 results for 3 and 2 results for 5. This would then give 4.00 as the rating result I am looking for. I'm looking for the formula which would give that rating.

Well.. How about this:
 (2 * 3) + (2 * 5)     6 + 10    16    4
 -----------------  =  ------ =  -- =  - = 4
       2 + 2             4        4    1
Does that help? I'm not a mathemetician but that's how I reckon your answer..
Best,


DD

A man is no fool who gives up that which he cannot keep for that which he cannot lose.
Everything I don't understand must be easy!
The difficulty of any task is measured by the capacity of the agent performing the work.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform