470,591 Members | 1,484 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 470,591 developers. It's quick & easy.

Ratio problem.

i would like to know if its possible and what the formula is for taking two
numbers a seeing if they equal a certain ratio ?

Jul 19 '05 #1
1 2202
well, if I'm understanding what you want, I'd say take your ratio and turn
it into a decimal. eg: 1:2 = 1/2 = .5 and then take the two numbers you'd
like to test (eg: $x and $y) and test whether $x/$y = .5 and/or whether
$y/$x = .5 depending on what your input is. Not sure if that's what you
wanted, but hope it helped
-Nick

"Raidenji" <ra******@bellsouth.net> wrote in message
news:fB****************@bignews3.bellsouth.net...
i would like to know if its possible and what the formula is for taking two numbers a seeing if they equal a certain ratio ?

Jul 19 '05 #2

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

9 posts views Thread by Matt | last post: by
7 posts views Thread by eric | last post: by
4 posts views Thread by xixi | last post: by
1 post views Thread by Marek Wierzbicki | last post: by
3 posts views Thread by Danny Ni | last post: by
1 post views Thread by Ramchandra | last post: by
5 posts views Thread by NoOneCanHelpMe | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.