Re: integers
| From: | @work) | Date: | Fri, 11 Aug 2000 16:45:50 +0000 |
| Subject: | Re: integers | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-11358@lists.php.net to get a copy of this message | ||
Anna Soobrattee wrote:
>
> Is there a function that will take a number like 123768768768768345736
> and return it with the commas in the right places ?
>
> 123,768,768,768,768,345,736
>
> rather than me having to write some recursive script to put the commas
> in the right places ?
Use number_format().
-Egon
--
SIX Offene Systeme GmbH · Stuttgart - Berlin - New York
Sielminger Straße 63 · D-70771 Leinfelden-Echterdingen
Fon +49 711 9909164 · Fax +49 711 9909199 http://www.six.de