[ic] What's wrong with this syntax ?

José Mª Revuelto interchange-users@interchange.redhat.com
Tue Apr 23 01:06:02 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: lunes, 22 de abril de 2002 1:29
> Para: interchange-users@interchange.redhat.com
> Asunto: RE: [ic] What's wrong with this syntax ?
>
>
> On Sun, 21 Apr 2002 22:55:43 +0200, José Mª Revuelto wrote:
>
> >> 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.
> >> -
>
> Use [setlocale es_ES] to set temporarily until the page meets
> [setlocale] which reverts to the locale in the environment.
>
> Also [setlocale currency=es_ES] for currency alone.
>
> (from memory - check the syntax)
>
> 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?