How can i match a range of numbers from a given input?
i tried round() but it rounds off the numbers to the next number, so
that will be wrong.

My example below show 4 examples of what my db tables looks like.

weight   value
.5            9.45
1.0         10.71
1.5         11.97
2.0         13.23

How can i get the range of:

.1 to fall under .5 and
1.3 to fall under 1.0 and
1.6 to fall under 2.0

and so on.. any ideas?

-- 
Louie Miranda
http://www.axishift.com

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to