Re: Converting numbers to currency format
| From: | Justin Patrin | Date: | Wed, 01 Mar 2006 00:21:38 +0000 |
| Subject: | Re: Converting numbers to currency format | ||
| References: | 1 | Groups: | php.pear.general |
| Request: | Send a blank email to pear-general+get-23168@lists.php.net to get a copy of this message | ||
On 2/28/06, Alejandro López Hernández <alopez@ulfix.com> wrote:
> Hello guys,
>
> I'm wondering if there is a package to convert numbers to currency
> strings, ie:
>
> 1000 to 1,000.00
> 1250.30 to 1,250.30
>
No, but you don't really need one. number_format() should be able to do it all.
--
Justin Patrin