Re: [xsl] XSL SUM BUG?

Subject: Re: [xsl] XSL SUM BUG?
From: David Carlisle <davidc@xxxxxxxxx>
Date: Thu, 19 Feb 2004 20:52:18 GMT

Its not a bug, it's a feature of binary computing and numerical
You can not store 0.1 exactly as a base 2 floating point number, so you
can not get any exact answers from any calculation involving such a

Use format-number() to round to a suitable number of decimal places and
the error terms will disapear.



 XSL-List info and archive:

Current Thread