Re: [xsl] sum() with decimal-separator ","

Subject: Re: [xsl] sum() with decimal-separator ","
From: "M. David Peterson" <conners_dad@xxxxxxx>
Date: Tue, 9 Sep 2003 02:48:25 -0600
actually, my last response wont work... case of typing before thinking.

Dimitre has an entry in the archive that solves your problem...

http://www.biglist.com/lists/xsl-list/archives/200111/msg00835.html

Good Luck!

M.


----- Original Message ----- 
From: <m.friedrich@xxxxxxxxx>
To: <XSL-List@xxxxxxxxxxxxxxxxxxxxxx>
Sent: Tuesday, September 09, 2003 2:17 AM
Subject: [xsl] sum() with decimal-separator ","


> I try to calculate a summary by using
>    select="sum(row/BUCHWERTBW)"
> 
> with a given decimal format like this:
> <row>
> <BUCHWERTBW>43023.7</BUCHWERTBW>
> </row>
> it works well.
> 
> 
> The problem is that I have to use a decimal format with
> decimal-separator=",":
> <row>
> <BUCHWERTBW>43023,7</BUCHWERTBW>
> </row>
> 
> so the result is NaN. How can I use the function sum() with an
> decimal-separator like "," ?
> 
> regards Manfred
> 
> 
> 
>  XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
> 
> 

 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


Current Thread