General information
Category:
Coding, syntax & commands
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
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only