Common strategies to deal with rounding errors in currency-intensive soft?
Posted
by Max
on Stack Overflow
See other posts from Stack Overflow
or by Max
Published on 2010-05-18T19:30:07Z
Indexed on
2010/05/18
19:40 UTC
Read the original article
Hit count: 134
What is your advice on:
- compensation of accumulated error in bulk math operations on collections of Money objects. How is this implemented in your production code? (things like variable rounding, etc...)
- theory behind rounding in accountancy.
- any literature on topic.
I currently read Fowler. He mentions Money type, but says nothing on strategies.
Older posts on money-rounding (here, and here) do not provide a details and formality I need.
Thanks for help.
© Stack Overflow or respective owner