[ic] What's wrong with this syntax ?

José Mª Revuelto interchange-users@interchange.redhat.com
Sun Apr 21 16:53:01 2002


> -----Mensaje original-----
> De: interchange-users-admin@interchange.redhat.com
> [mailto:interchange-users-admin@interchange.redhat.com]En nombre de Lyn
> St George
> Enviado el: domingo, 21 de abril de 2002 17:01
> Para: interchange-users@interchange.redhat.com
> Asunto: RE: [ic] What's wrong with this syntax ?
>
>
> 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.
>
If I use the currency tag, then I get the $ symbol, that it is what I have
defined in my locale. The matter is that I want to have two different
currencies in the same locale, and two different fractional digits under the
same locale.
> -
> Cheers
> Lyn St George
>
>