[Date Prev][Date Next][Thread Prev][Thread Next][Interchange by date
][Interchange by thread
]
[ic] What's wrong with this syntax ?
On Tue, 23 Apr 2002 07:05:30 +0200, José Mª Revuelto wrote:
>> I´ve tried Price: <b>[item-price]<b> equal to [setlocale
>es_ES][calc][item-price noformat=1]*166.386[/calc][setlocale], but has not
>the right effect. It show:" $5.99 equal to 996.65214" and locale es_ES is
>set to currency_symbol=Ptas and frac_digits=0. Is that code right?
No. The 'noformat=1' removes all currency formatting ($ signs etc)
so that the [calc] will work. You then need to replace the
currency formatting as well as setting the locale:
[setlocale es_ES][currency][calc][item-price noformat=1]
*166.386[/calc][/currency][setlocale]
(from memory, the 'frac_digits=0' should be right)
Aren't you required to show Euros now in Spain?
-
Cheers
Lyn St George
+---------------------------------------------------------------------------------
+ http://www.zolotek.net .. eCommerce hosting, consulting
+ http://www.os2docs.org .. some 'How To' stuff ...
+----------------------------------------------------------------------------------