|
-
Mar 7th, 2007, 10:57 AM
#1
Thread Starter
Member
Ratio Formula
Hello, i've done a search and found this topic:
http://www.vbforums.com/showthread.p...=ratio+numbers
I'm trying to find and most importantly understand a formula for calculating the ratio between 2 numbers.
The example in the thread above gives me the answers, but im confused about what its doing. The strangest being this:
If (val_1 / min_val) = (val_1 \ min_val) And (val_2 / min_val) = (val_2 \ min_val) Then
What is the difference between the forward facing '/' and the backwards facing '\' as they sometimes give different results. Maybe if i understood what they were doing i could get the rest.
In my opinion, val_1 Divided by min_val will always equal val_1 Divided by min_val.
By the way, my code is actually in Java, but i'm reasonably happy converting it to java myself.
Thanks for any help!
Mathew
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|