Random
Source Code

Big D

Big D or BigDecimal is a Class of the java.math package.

By internally storing decimals as String, the BigDecimal covers the precision issue of doubles.

Program: System.out.println(0.03 - 0.02); -> 0.0999999999999999
Programmer: Oh shit! It's time for the Big D!!

by f0a677 March 6, 2018