Re: Number Conversion
| From: | Marco Tabini | Date: | Thu, 17 Oct 2002 18:45:34 +0000 |
| Subject: | Re: Number Conversion | ||
| References: | 1 | Groups: | php.db |
| Request: | Send a blank email to php-db+get-22482@lists.php.net to get a copy of this message | ||
number_format():
http://ca.php.net/manual/en/function.number-format.php
On Thu, 2002-10-17 at 14:52, Manoj Japher wrote:
> hi,
> I would like to format my output. I would like to represent my
> integer outputs as 2,000 instead of 2000 which it prints by
> default.
>
> For e.g. I want 2000000 to be printed as 2,000,000
>
> Do we have any functions which does that?
>
> Thanks in advance,
>
> Best Regards,
>
> Manoj
>
>
>
> "Life,it is not a problem to be solved, but
> a process to be managed."
>
>
> --
> PHP Database Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>