Thanks for the info :-) regards, Delz ----- Original Message ----- From: "Leif K-Brooks" <eurleif@buyer-brokerage.com> To: "Delz" <phpuser@modeglobal.com> Cc: <php-db@lists.php.net> Sent: Friday, May 09, 2003 9:47 AM Subject: Re: Convert string to integer > www.php.net/number-format > > Delz wrote: > > >Hi All, > > > >I'm using php scripts to access mysql and I just want to know how to convert > >a string to an integer wherein if I have a value of 200000000 I want php to > >output it as 200,000,000. I just want to output the numbers generated w/ > >commas to better identify if its in thousands, hundred thousands or > >millions. I normally would want to use this for computations wherein I would > >get the value from mysql and print the output on a php script with the > >pattern that I want. I hope that somebody could help me how to do this. > > > >Regards, > > > >Delz > > > > > > > > > > > > -- > The above message is encrypted with double rot13 encoding. Any unauthorized attempt to decrypt it will be prosecuted to the full extent of the law. > > > > -- > PHP Database Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php > > > -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php