[xsl] XPath number with 20 digits gives you a head ache

Subject: [xsl] XPath number with 20 digits gives you a head ache
From: "Jarno Elovirta" <jarno@xxxxxxxxxxxxxx>
Date: Wed, 24 Jan 2001 12:17:42 +0200
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


Current Thread