xsl-list
[Top] [All Lists]

RE: [xsl] Rounding errors in financial app transforms

2007-07-26 16:22:14
So if you try to round $100.105 to 2 decimal places you will get 
$100.11 whereas any financial system will (probably) expect $100.10.

Anyone who thinks they know the accounting standards for every country in
the world is almost certainly mistaken.

However, when we researched this, we decided that round-half-to-even would
keep most people happy, with the exception of many people who were taught in
primary school that 0.5 rounds upwards, and still believe that this is the
only way of doing it, with the same passion as those who believe it is wrong
ever to split an infinitive.

Michael Kay


--~------------------------------------------------------------------
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>
--~--