Re: FORMAT return?

From: Date: Thu, 30 Aug 2001 13:09:46 +0000
Subject: Re: FORMAT return?
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-65273@lists.php.net to get a copy of this message
Try number_format() Andrey Hristov IcyGEN Corporation http://www.icygen.com 99% ----- Original Message ----- From: "Glyndower" <idesign@tampabay.rr.com> To: <mysql@lists.mysql.com>; <php-general@lists.php.net> 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: php-general-unsubscribe@lists.php.net > For additional commands, e-mail: php-general-help@lists.php.net > To contact the list administrators, e-mail: php-list-admin@lists.php.net > >

« previous php.general (#65273) next »