Re: Best way to format double as money?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



I'd use number_format, money_format is OS dependent.

-- 
itoctopus - http://www.itoctopus.com
"Todd Cary" <todd@xxxxxxxxxxxxxxxxxx> wrote in message 
news:463D5FBE.7070903@xxxxxxxxxxxxxxxxxxxxx
>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


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux