Are you familiar with the IEEE 754-2008 specification of decimal floating point format?
From Wikipedia's entry on decimal64[1]: "It is intended for applications where it is necessary to emulate decimal rounding exactly, such as financial and tax computations."
[1] http://en.wikipedia.org/wiki/Decimal64_floating-point_format