[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

RE: Rounding errors in financial app transforms

Subject: RE: Rounding errors in financial app transforms
From: "Michael Kay" <mike@xxxxxxxxxxxx>
Date: Fri, 27 Jul 2007 00:21:50 +0100
RE:  Rounding errors in financial app transforms
> 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

Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2007 All Rights Reserved.