xsl-list
[Top] [All Lists]

sum() with decimal-separator ","

2003-09-09 01:17:18
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



<Prev in Thread] Current Thread [Next in Thread>