xsl-list
[Top] [All Lists]

XSL number BUG?

2004-02-19 13:00:13
you can try simple <xsl:value-of select="number('700000.1')"/>

----- Original Message ----- 
From: "Andrew" <asd(_at_)ezan(_dot_)ac(_dot_)ru>
To: <xsl-list(_at_)lists(_dot_)mulberrytech(_dot_)com>
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



<Prev in Thread] Current Thread [Next in Thread>