Subject: [xsl] XSL number BUG? From: "Andrew" <asd@xxxxxxxxxx> Date: Thu, 19 Feb 2004 23:00:13 +0300 |
you can try simple <xsl:value-of select="number('700000.1')"/> ----- Original Message ----- From: "Andrew" <asd@xxxxxxxxxx> To: <xsl-list@xxxxxxxxxxxxxxxxxxxxxx> Sent: Thursday, February 19, 2004 10:44 PM Subject: [xsl] XSL SUM BUG? > I've following xml: > <aa> > <plan SUMM="700000.1"/> > </aa> > > execute sum(//plan/@SUMM) and you'll get 700000.09999...- what the ...? > but if you change 7 on 1 or 2 all works as expected- 1 preserved. > tested on .NET/xmlspy. > > > > XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list > > > XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
[xsl] XSL SUM BUG?, Andrew | Thread | Re: [xsl] XSL SUM BUG?, G. Ken Holman |
RE: [xsl] Dealing with javascript a, Josh Canfield | Date | [xsl] Re: Counting nodes efficientl, Dimitre Novatchev |
Month |