blob: cbdb5927a5592403ada3a77907053fc8fc04b5e8 [file] [log] [blame]
<html>
<body>
Reports <b>.equals()</b> being called
to compare two <b>java.math.BigDecimal</b> numbers. This is normally
a mistake, as two <b>java.math.BigDecimal</b>s are only equal if
they are equal in both value and scale, so that 2.0 is not equal to 2.00
To compare <b>java.math.BigDecimal</b>s for mathematical equality,
use <b>.compareTo()</b> instead.
<!-- tooltip end -->
<p>
</body>
</html>