
[Date Prev][Date Next][Thread Prev][Thread Next][Interchange by date
][Interchange by thread
]
Re: [ic] Re: German currency / dezimal=zero problem
Erik Kendel wrote:
>
> Hello,
>
> I put the [setlocale de_DE] tag into the results.html. It doesn't
> work. I add this
>
> "Locale de_DE PriceCommas 1"
> too
>
> Locale de_DE PriceDivide .58
> Locale de_DE mon_decimal_point .
> Locale de_DE mon_thousands_sep " "
> Locale de_DE currency_symbol " DM"
> Locale de_DE ps_cs_precedes 1
> Locale de_DE frac_digits 2
>
> I think that's all I can do?!
> Perhaps it's a mysql (it's dezimal 12,2 and the price price picture looks
> like this "100.80")
> or a perl problem ?!
> Who can help?
The value of any price in any field must be 123.45 and not 123,45! You
can test it with perl like
$a = 123,45;
$b = 123.45;
$c = $a * 100;
$d = $b * 100;
print "c = $c\n";
print "d = $d\n";
and you will get
c = 12300
d = 12345
Joachim
--
Hans-Joachim Leidinger | Dipl.-Phys.Ing. Entwicklung eCommerce
[Hans-Joachim.leidinger@bpanet.de]
Black Point Arts Internet Solutions GmbH
http://www.bpanet.de
_______________________________________________
interchange-users mailing list
interchange-users@interchange.redhat.com
http://interchange.redhat.com/mailman/listinfo/interchange-users