Hi.

On Sunday 24 May 2009, Ron Piggott wrote:
> Is there a way to remove the trailing '0'?

$width = number_format($width,2);

> Also is there a way to have the original fraction display (1/4), as well
> as have provision for 1/8 and 3/8 and 1/2, etc. display?

On this one I suspect you'd have to write your own function, but maybe 
someone else knows better.

HTH

Mark

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

Reply via email to