Re: [PHP] Best way to format double as money?

2007-05-06 Thread Larry Garfield
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
[EMAIL PROTECTED]   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



Re: [PHP] Best way to format double as money?

2007-05-06 Thread heavyccasey

*sigh* 
http://www.google.com/search?hl=enq=PHP+format+double+as+moneybtnG=Search

On 5/5/07, Larry Garfield [EMAIL PROTECTED] 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
[EMAIL PROTECTED]  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




--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



[PHP] Best way to format double as money?

2007-05-05 Thread Todd Cary
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

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php