java 에서 Double/float 이상의 수를 다룰 때 쓰는 BigDecimal 클래스
대표문제
a^b
BigDecimal A = new BigDecimal(String);
위와 같은 방법으로 선언하여 사용하고, 연산은 내장 메소드로 연산한다.
A.add(B);
A.subtract(B);
A.multiply(B);
A.divide(B);
toPlainString() / toString() 으로 출력시에는 문자열로 출력할 수 있다.
https://alwayspr.tistory.com/39
https://jsonobject.tistory.com/466