Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Math Question, Calculating ratio from percentage
Message
 
À
20/05/2003 10:43:51
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00790476
Message ID:
00790487
Vues:
22
Not quite clear, what is "ratio from a percentage".
Do you need to display 20% (which is 1/5) as 1:5 ? Or do you want to compare two numbers 20 and 80 having ratio 1:4?

>I need to get a ratio from a percentage. I know how to do it by inverting the fractions then multiplying but the code got ugly really quick!. How do I get 4:1 from 20% and 80%.
>
>Thank You
>Miles
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform