Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Math Question, Calculating ratio from percentage
Message
 
To
20/05/2003 10:43:51
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00790476
Message ID:
00790487
Views:
20
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
Previous
Reply
Map
View

Click here to load this message in the networking platform