java.math.BigDecimal
-
BigDecimal(int)
-
BigDecimal(double)
-
BigDecimal(long)
-
BigDecimal(String)
Mehtods of the BigDecimal
-
Add(value)
-
compareTo(value)
-
divide(value,scale,rounding-mode)
-
multipy(value)
-
setScale(scale,rounding-mode)
-
toString()
java.math.RoundingMode
Two types in the RoundingMode enumeration
-
HALF_UP
-
HALF_EVEN