Here you can find the source of multiply(BigDecimal aValue1, BigDecimal aValue2)
public static BigDecimal multiply(BigDecimal aValue1, BigDecimal aValue2)
//package com.java2s; import java.math.BigDecimal; public class Main { public static BigDecimal multiply(BigDecimal aValue1, BigDecimal aValue2) { if (aValue1 == null || aValue2 == null) return null; return aValue1.multiply(aValue2); }/*from w w w . java2 s .co m*/ public static BigDecimal multiply(BigDecimal aValue1, BigDecimal aValue2, int sacle, int roundingMode) { if (aValue1 == null || aValue2 == null) return null; return aValue1.multiply(aValue2).setScale(sacle, roundingMode); } }