Today I’d like to share some hints on BigDecimals, how and when to use them, what to watch out for and how to avoid strange errors.
When to use them
I think this is the most straightforward of them all. BigDecimals should be used when exact results with arbitrary precision are needed for numerical calculations. Continue reading “BigDecimal gotchas”