@@ -0,0 +1,389 @@
+package study.hard.javalib.nativelib;%0A%0Aimport java.math.BigDecimal;%0A%0Aimport org.junit.Test;%0A%0Apublic class BicDecimal %7B%0A%0A%09@Test%0A%09public void testToDevide() %7B%0A%09%09BigDecimal a = new BigDecimal(110000);%0A%09%09BigDecimal b = new BigDecimal(1.1);%0A%09%09System.out.println(a.divide(b, 3, BigDecimal.ROUND_UP)); // 100000.000%0A%09%09System.out.println(a.divide(b, 3, BigDecimal.ROUND_DOWN)); // 99999.999%0A%09%7D%0A%0A%7D%0A

Add a test case to check BigDecimal