[xsl] number("2,000") -> NaN

Subject: [xsl] number("2,000") -> NaN
From: Morten Primdahl <morten@xxxxxxx>
Date: Tue, 5 Feb 2002 11:08:24 +0100 (CET)
Hi. Xalan-J outputs <xsl:number level="any"/> formatted
with grouping separator , (comma) as in 1,024

I need a numerical value which I can do some arithmetic
on. I tried using the number() function, but to no avail.
How can I strip the grouping separator or get a proper number
rather than the formatted string?

Thanks,

Morten



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


Current Thread