Re: Rounding
| From: | Larry E . Ullman | Date: | Thu, 08 Apr 2004 02:06:30 +0000 |
| Subject: | Re: Rounding | ||
| References: | 1 | Groups: | php.db |
| Request: | Send a blank email to php-db+get-33792@lists.php.net to get a copy of this message | ||
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