[ic] Price Format Problem

joachim.richter joachim.richter@usvideocenter.de
Tue, 27 Feb 2001 16:33:51 +0100

thanks Mike you were absolutely right.
we have changed all prices from "," to "."
can you give us one more hint

we have picked german as our standard language

using [item-price] we get a correct price DM 24,95 but as soon as we use this

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

we get DM 0,00
	$ 0,00
	0,00 FF

if we drop the currency

we get DM 24,95
	DM 24,95
	DM 24,95

also we can't seem how to figure out the Pricedivide option in the locale.txt how can we have it calculate the price ?

our config looks like this

Locale          de_DE LC_CTYPE de_DE
#Locale          fr_FR
#Locale          en_US
#Locale          en_US LC_CTYPE C
LocaleDatabase  locale

and we have a little Autoload

Autoload <<EOR
    if($Scratch->{dealer}) {
            $Config->{PriceField} = $Values ->{pricefield};

the autoload changes the "pricefield   price" according to the field "pricefield" in the Userdb.
this works fine. we are like out of ideas

this is our locale

code	en_US	de_DE	fr_FR
January		Januar	Janvier
February		Februar	F&eacute;vrier
March		M&auml;rz	Mars
April		April	Avril
May		Mai	Mai
June		Juni	Juin
July		Juli	Juillet
August		August	Aout
September		September	Septembre
October		October	Octobre
November		November	Novembre
December		Dezember	D&eacute;cembre
PriceDivide	2	1	0.1632
currency_symbol	$	DM	FF
decimal_point	.	.	.
default	0	1	0
frac_digits	2	2	2
mon_decimal_point	.	,	,
mon_thousands_sep	,	,	.
p_cs_precedes	1	1	
p_sep_by_space		1	1
products		products	produits

are we overseeing like something ?/
US Video Center Medien GmbH
Heimsheimer Str 22
70499 Stuttgart

Tel 0711 880252 0
Fax 0711 880252 22
Email joachim.richter@usvideocenter.de