Re: XSL SUM BUG?2004-02-19 13:52:18Its not a bug, it's a feature of binary computing and numerical calculations. 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 number. Use format-number() to round to a suitable number of decimal places and the error terms will disapear. David -- http://www.dcarlisle.demon.co.uk/matthew XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
|
|