Subject: Re: [xsl] number("2,000") -> NaN From: Joerg Heinicke <joerg.heinicke@xxxxxx> Date: Tue, 05 Feb 2002 11:24:01 +0100 |
<xsl:value-of select="translate(any_number, ',', '')"/> replaces every comma by 'nothing'.
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
System Development VIRBUS AG Fon +49(0)341-979-7411 Fax +49(0)341-979-7409 joerg.heinicke@xxxxxxxxx www.virbus.de
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
[xsl] number("2,000") -> NaN, Morten Primdahl | Thread | Re: [xsl] number("2,000") -> NaN, Morten Primdahl |
RE: [xsl] CALS tables, Andrew Welch | Date | RE: [xsl] copyright symbol in XSLT, Danne . Lundqvist |
Month |