[ic] What's wrong with this syntax ?

Lyn St George interchange-users@interchange.redhat.com
Sun Apr 21 09:59:24 2002


On Sun, 21 Apr 2002 01:32:55 +0200, José Mª Revuelto wrote:

>My case is this: The price of an item is $10.00, and want to show its price
>in spanish pesetas. So [calc] [subtotal noformat=1] * 166.386 [/calc] show
>me: 3326.05614 Ptas. The calculation is right but I want no fractional
>digits and a . as thousand separator, so the result is "3.326 Ptas." In the
>doc, for the currency tag, the only parameters are "convert" and "noformat".
>How can I do that?
>
>Thank you.
>
>José Mª

Use [currency] foo [/currency] to wrap the other calculation tags.
Set locale in your catalog.cfg to use the correct separators.


-
Cheers
Lyn St George
+---------------------------------------------------------------------------------
+ http://www.zolotek.net .. eCommerce hosting, consulting
+ http://www.os2docs.org .. some 'How To' stuff ...
+----------------------------------------------------------------------------------


-
Cheers
Lyn St George
+---------------------------------------------------------------------------------
+ http://www.zolotek.net .. eCommerce hosting, consulting
+ http://www.os2docs.org .. some 'How To' stuff ...
+----------------------------------------------------------------------------------


-
Cheers
Lyn St George
+---------------------------------------------------------------------------------
+ http://www.zolotek.net .. eCommerce hosting, consulting
+ http://www.os2docs.org .. some 'How To' stuff ...
+----------------------------------------------------------------------------------


-
Cheers
Lyn St George
+---------------------------------------------------------------------------------
+ http://www.zolotek.net .. eCommerce hosting, consulting
+ http://www.os2docs.org .. some 'How To' stuff ...
+----------------------------------------------------------------------------------


-
Cheers
Lyn St George
+---------------------------------------------------------------------------------
+ http://www.zolotek.net .. eCommerce hosting, consulting
+ http://www.os2docs.org .. some 'How To' stuff ...
+----------------------------------------------------------------------------------