Re: how to convert 0.5 to 0.50
| From: | chris smith | Date: | Thu, 13 Apr 2006 14:04:31 +0000 |
| Subject: | Re: how to convert 0.5 to 0.50 | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-233889@lists.php.net to get a copy of this message | ||
On 4/13/06, Merlin <news.groups@web.de> wrote:
> Hi there,
>
> I am searching for a command on how to format 0.5 to 0.50
number_format('0.5', 2);
--
Postgresql & php tutorials
http://www.designmagick.com/