Re: [SMARTY] Number Format / Money
| From: | Hinrich Donner | Date: | Thu, 06 Mar 2003 13:26:29 +0000 |
| Subject: | Re: [SMARTY] Number Format / Money | ||
| References: | 1 | Groups: | php.smarty.general |
| Request: | Send a blank email to php-smarty-general+get-8442@lists.php.net to get a copy of this message | ||
On Thursday 06 March 2003 13:27, Martin Kloss wrote:
> has anyone done a custom variable modifier / filter for
> displaying money in different currencies?
setlocale(LC_ALL, 'de_DE');
> I have to display prices for products in different currencies
> and languages, i.e. in Germany a product in Euro would display
> 1.549,90, while in the US it would be $1,549.90
A price in US$ displayed on a e.g. German customer should have the German
number format even if the currency is US$.
Hinrich
--
Hinrich Donner