Re: Rounding

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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" <LarryUllman@xxxxxxxxxxxxxxx>
To: "Ng Hwee Hwee" <hhwee@xxxxxxxxxxx>
Cc: "DBList" <php-db@xxxxxxxxxxxxx>
Sent: Thursday, April 08, 2004 10:06 AM
Subject: Re:  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


[Index of Archives]     [PHP Home]     [PHP Users]     [Postgresql Discussion]     [Kernel Newbies]     [Postgresql]     [Yosemite News]

  Powered by Linux