Documentation for this section has not yet been entered.
Type Reason Java.Lang.ArithmeticException if rounding is necessary or the number doesn't fit in an int.
Returns this BigDecimal as a int value if it has no fractional part and if its value fits to the int range ([-231..231-1]). If these conditions are not met, an ArithmeticException is thrown.