Re: Amy's Site question
| From: | Richard Davey | Date: | Wed, 22 Jun 2005 13:29:50 +0000 |
| Subject: | Re: Amy's Site question | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-217412@lists.php.net to get a copy of this message | ||
Hello Jack,
Wednesday, June 22, 2005, 2:17:48 PM, you wrote:
JJ> How can I limit the result of that math to one decimal place, ie,
JJ> 9.5 cm, not 9.523 cm?
number_format() is your friend.
Best regards,
Richard Davey
--
http://www.launchcode.co.uk - PHP Development Services
"I do not fear computers. I fear the lack of them." - Isaac Asimov