xsl-list
[Top] [All Lists]

RE: [xsl] Rounding errors in financial app transforms

2007-07-26 06:54:54
What's exactly is the problem with division before I go off 
thinking that all is home and hosed with xs:decimal?

What's the result of 10 div 3? The spec allows both 3.3 and
3.33333333333333333333333333333333333333333333 as legal answers. However,
you have a reasonable expectation - not a guarantee - of at least 18 digits.

Michael Kay
http://www.saxonica.com/


--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--