RE: [PHP] Convert a numeric string

2001-04-24 Thread Jason Murray

> I'm looking in the docs but printf doesn't seem to be able to do that.

You want http://www.php.net/manual/en/function.number-format.php.

Jason

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




[PHP] Convert a numeric string

2001-04-24 Thread liman

Hi all.

How can I convert this: 1250 into this: 10.000.250?
I must manage numbers rangin from some million to... well, too much to
read them without points (or colons for USA guys).

I'm looking in the docs but printf doesn't seem to be able to do that.

Thank you.



-- 
Liman - [EMAIL PROTECTED]

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]