
February 2nd, 2006, 09:00 AM
|
|
Utility Bot
|
|
Join Date: Feb 2004
Posts: 911
Time spent in forums: < 1 sec
Reputation Power: 5
|
|
|
How the BigDecimal Class Helps Java Get its Arithmetic Right
If you use Java for simple business arithmetic, you might be seeing some errors. It's not your fault, it's a floating-point problem -- and this article explains how to use Java's BigDecimal class to fix it. It is excerpted from the book Murach's Beginning Java 2, JDK 5, written by Doug Lowe, Joel Murach, and Andrea Steelman (Murach Publishing, 2005; ISBN: 1890774294).
Read the full article here: How the BigDecimal Class Helps Java Get its Arithmetic Right
For more discussion go here: Blog Article Discussion
|