whoa! thanks so much! you guys are smart! hahaha..

i just love this list and all the helpful souls out there!

:o)

----- Original Message ----- 
From: "Larry E. Ullman" <[EMAIL PROTECTED]>
To: "Ng Hwee Hwee" <[EMAIL PROTECTED]>
Cc: "DBList" <[EMAIL PROTECTED]>
Sent: Thursday, April 08, 2004 10:06 AM
Subject: Re: [PHP-DB] Rounding


> > 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
> 
> 

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

Reply via email to