FORMAT return?
| From: | Glyndower | Date: | Thu, 30 Aug 2001 12:58:54 +0000 |
| Subject: | FORMAT return? | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-65271@lists.php.net to get a copy of this message | ||
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