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

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

Reply via email to