[ic] Re: price display problem

Mike Heins mikeh@minivend.com
Wed, 15 Nov 2000 11:05:34 -0500


Quoting Toni Mueller (support-ic@oeko.net):
> What doesn't work, however, is [subtotal] which displays
> the amount in EURO, no matter what locale setting are
> active at that point. The locale setting only changes the
> currency denomination, and (even worse) setting it to
> de_EU and saying the verse like above results in the
> display of an amount that is about the numeric _quarter_
> of the DEM number. I don't know where it goes wrong,
> however. I _can_ display the correct values using
> [calc]... * 1.95583[/calc], but that's a kludge, not a
> solution (what gets entered into "orderline"?).

I am not able to confirm this.

I took the standard construct demo, ordered one of
item os28110, and did this:

[setlocale en_US] [subtotal]
[setlocale fr_FR] [subtotal]
[setlocale de_DE] [subtotal]

This displayed:

 $14.99
 91,85 FF
 DM 27,71

which is what I would expect.
-- 
Akopia, Inc., 131 Willow Lane, Floor 2, Oxford, OH  45056
phone +1.513.523.7621 fax 7501 <heins@akopia.com>

Light travels faster than sound. This is why some people appear bright
until you hear them speak. -- unknown