posted 21 years ago
The Difference is that you can store much larger numbers in BigDecimal.
Double has a maximum value of Double.MAX_VALUE = 1.7976931348623157 E308.
But BigDecimal can hold Decimal values that are HUGE. For example, I created a BigDecimal that is (Double.MAX_VALUE)^300!!! I'm not sure what the upper bound is ( if one exists).
SCJP 1.4<br /><a href="http://www.cise.ufl.edu/~sih" target="_blank" rel="nofollow">www.cise.ufl.edu/~sih</a>