Code example for BigInteger

Methods: divide

0
        return new SimpleBigDecimal(dividend.divide(b.bigInt), scale);
    } 
 
    public SimpleBigDecimal divide(BigInteger b)
    { 
        return new SimpleBigDecimal(bigInt.divide(b), scale);
    } 
 
    public SimpleBigDecimal shiftLeft(int n)
    { 
        return new SimpleBigDecimal(bigInt.shiftLeft(n), scale);
    } 
 
    public int compareTo(SimpleBigDecimal val)
    { 
        checkScale(val);
        return bigInt.compareTo(val.bigInt);
    } 
 
    public int compareTo(BigInteger val)
    {