6.11 --> 6.2
6.15 --> 6.2
6.19 --> 6.2
6.20 --> 6.2

i know there is a ceil() function but that rounds up to the nearest integer.. i need one decimal place still..

If my math is right, you could multiply the number by ten, take the CEILING(), then divide that by 10.


Larry

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



Reply via email to