Re: Pattern matching in PHP
| From: | RIVES Sergio | Date: | Wed, 13 Mar 2002 13:14:55 +0000 |
| Subject: | Re: Pattern matching in PHP | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-88327@lists.php.net to get a copy of this message | ||
i guess you are searching for this function :
number_format($number);
http://www.php.net/manual/en/function.number-format.php
Hope it could help you
SR
Claudiu a écrit :
Claudiu a écrit :
> Hello!
>
> I have a number... say 12234109 i want to transform it to 12,234,109
> or 10312 transformed to 10,312 ... i guess you got my point..
>
> Is there a way doing this... I believe pattern matching...but i dont know
> how to do it...
> Or any other solution?
> Thanks...
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php