AW: [PEAR] Converting numbers to currency format
| From: | Christoph Lütjen - webEdition Software GmbH | Date: | Wed, 01 Mar 2006 00:26:31 +0000 |
| Subject: | AW: [PEAR] Converting numbers to currency format | ||
| References: | 1 | Groups: | php.pear.general |
| Request: | Send a blank email to pear-general+get-23170@lists.php.net to get a copy of this message | ||
Hi,
sorry, of curse this makes only sense if you want to support different
languages/countries. As long as you have a fixed format number_format()
should be the better way.
Chris
-----Ursprüngliche Nachricht-----
Von: Christoph Lütjen - webEdition Software GmbH
[mailto:christoph.luetjen@webedition.de]
Gesendet: Mittwoch, 1. März 2006 01:23
An: 'Alejandro López Hernández'; 'PEAR General'
Betreff: AW: [PEAR] Converting numbers to currency format
Hi,
I18Nv2 should do the job.
http://pear.php.net/manual/en/package.internationalization.i18nv2.php
Chris
-----Ursprüngliche Nachricht-----
Von: Alejandro López Hernández [mailto:alopez@ulfix.com]
Gesendet: Mittwoch, 1. März 2006 01:10
An: PEAR General
Betreff: [PEAR] Converting numbers to currency format
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
Thanks for your help, greetings!
--
PEAR General Mailing List (http://pear.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
--
PEAR General Mailing List (http://pear.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php