BigInteger
BigInteger bigInteger = new BigInteger("999999999999");
BigInteger bigInteger2 = new BigInteger("100");
System.out.println(bigInteger);
BigInteger add = bigInteger.add(bigInteger2);
System.out.println(add);
BigInteger subtract = bigInteger.subtract(bigInteger2);
System.out.println(subtract);
BigInteger multiply = bigInteger.multiply(bigInteger2);
System.out.println(multiply);
BigInteger divide = bigInteger.divide(bigInteger2);
System.out.println(divide);
BigDecimal
BigDecimal bigDecimal = new BigDecimal("199.111113333333333311111");
BigDecimal bigDecimal2 = new BigDecimal("1.1");
System.out.println(bigDecimal);
System.out.println(bigDecimal.add(bigDecimal2));
System.out.println(bigDecimal.subtract(bigDecimal2));
System.out.println(bigDecimal.multiply(bigDecimal2));
System.out.println(bigDecimal.divide(bigDecimal2,BigDecimal.ROUND_CEILING));
}