Re: Best way to format double as money?

From: Date: Sun, 06 May 2007 06:24:14 +0000
Subject: Re: Best way to format double as money?
References: 1 2  Groups: php.general 
Request: Send a blank email to php-general+get-254482@lists.php.net to get a copy of this message
*sigh* http://www.google.com/search?hl=en&q=PHP+format+double+as+money&btnG=Search On 5/5/07, Larry Garfield <larry@garfieldtech.com> wrote:
http://www.php.net/money_format On Saturday 05 May 2007, Todd Cary wrote: I have a MySQL DB that stores currency values as doubles. I want to display the values in the #,##0.00 format. What is the best way to do that? Todd -- Ariste Software 2200 D Street Ext Petaluma, CA 94952 (707) 773-4523 --
Larry Garfield                  AIM: LOLG42
larry@garfieldtech.com          ICQ: 6817012
"If nature has made any one thing less susceptible than all others of exclusive property, it is the action of the thinking power called an idea, which an individual may exclusively possess as long as he keeps it to himself; but the moment it is divulged, it forces itself into the possession of every one, and the receiver cannot dispossess himself of it." -- Thomas Jefferson -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php


« previous php.general (#254482) next »