Re: [PHP] Pattern matching in PHP

2002-03-13 Thread RIVES Sergio

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


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




[PHP] Pattern matching in PHP

2002-03-13 Thread Claudiu

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