Here you can find the source of multiply(BigDecimal num1, BigDecimal num2)
public static BigDecimal multiply(BigDecimal num1, BigDecimal num2)
//package com.java2s; //License from project: Apache License import java.math.BigDecimal; public class Main { public static BigDecimal multiply(BigDecimal num1, BigDecimal num2) { if (null == num1) { num1 = BigDecimal.ZERO; }/*from w ww . ja v a2s . co m*/ if (null == num2) { num2 = BigDecimal.ZERO; } return num1.multiply(num2); } }