Click to See Complete Forum and Search --> : Please Take A Look


David Harrison
12-22-2002, 09:43 AM
How would I tell javascript to display a list of numbers depending on certain factors (subject to change) that I can specify such as:

* whole numbers
* divide by "x"
* are between "y" and "z"
* anything else that you think might be useful that I can't think of now.

khalidali63
12-22-2002, 10:37 AM
Checkout this link,it may help you.

http://www.merlyn.demon.co.uk/js-maths.htm

Khalid

aepstar
12-22-2002, 01:48 PM
so u wanna all three conditions applied to a set of numbers or only one of them?

please be more specific!

David Harrison
12-23-2002, 12:40 PM
Thank-you for yet again for destroying my original question aepstar.
Not all three conditions will apply at the same time, only two. They will always have to be between 0 and another number that can be easily changed, and then either one of the other factors will apply at any one time, NOT BOTH.