PDA

View Full Version : calculate ratio in Vbscript



suran78
03-06-2003, 09:58 AM
How can I get a ratio in Vbscript ? For example, ratio of 25:15 = 5:3 ?

jdharm
03-07-2003, 10:21 AM
Your question doesn't really seem like a question. Are you trying to solve for a missing element in a A:B::Y:Z analogy, are you trying to generate a list of equivalent ratios, are you trying to generate a logical true/false value for the given equation?

Please explain it in the context of what your script is trying to do. That will help us to determine what method you need.

Josh

The proceeding was from the "For What It's Worth" files, which by definition may be worthless. Take with a grain or ten of salt.