This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
XPath number with 20 digits gives you a head ache
- To: "XSL-List" <xsl-list at lists dot mulberrytech dot com>
- Subject: [xsl] XPath number with 20 digits gives you a head ache
- From: "Jarno Elovirta" <jarno at codeonline dot com>
- Date: Wed, 24 Jan 2001 12:17:42 +0200
- Reply-To: xsl-list at lists dot mulberrytech dot com
Hip hei!
Simple XPath question regarding string to number conversions. Should
<xsl:value-of select="number(string('92125374252539897737'))" />
return
92125374252539897737
since most processors return
92125374252539900000
which is not what one would want. Is this XPath spec or XSLT implementation
related issue?
Jarno
--
"Naked force has resolved more issues throughout history than any other
factor. The contrary opinion, that violence never solves anything, is
wishful thinking at its worst. People who forget that always pay."
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list