Re: Best way to format double as money?
| From: | itoctopus | Date: | Sun, 06 May 2007 10:44:12 +0000 |
| Subject: | Re: Best way to format double as money? | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-254485@lists.php.net to get a copy of this message | ||
I'd use number_format, money_format is OS dependent.
--
itoctopus - http://www.itoctopus.com
"Todd Cary" <todd@aristesoftware.com> wrote in message
news:463D5FBE.7070903@aristesoftware.com...
>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