Java tutorial
import java.math.BigDecimal; import java.math.BigInteger; public class Main { public static void main(String[] args) { BigDecimal bg1 = new BigDecimal(new BigInteger("40"), 2); } }