Try number_format() Andrey Hristov IcyGEN Corporation http://www.icygen.com 99% ----- Original Message ----- From: "Glyndower" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]> Sent: Thursday, August 30, 2001 3:58 PM Subject: [PHP] FORMAT return? > If i have a feild in a database that has a currency amount like 1000000.00 > > Is there a way to FORMAT AS (x,xxx,xxx.xx) in the sql so that the return is > 1,000,000.00 ? > > Or is there way to do it in PHP? > > I've done this in ASP, but I can't seem to find it in MySql or in PHP > > > -- > 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 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]