XSL number BUG?
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 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
PURCHASE STYLUS STUDIO ONLINE TODAY!
Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!
Download The World's Best XML IDE!
Accelerate XML development with our award-winning XML IDE - Download a free trial today!
Subscribe in XML format