to Big Integer Exact
Converts this BigDecimal to a BigInteger, checking for lost information. An exception is thrown if this BigDecimal has a nonzero fractional part.
Return
this BigDecimal converted to a BigInteger.
Since
1.5
Throws
if this has a nonzero fractional part.