Here you can find the source of multiply(final BigDecimal value, final BigDecimal multiplicand)
public static BigDecimal multiply(final BigDecimal value, final BigDecimal multiplicand)
//package com.java2s; //License from project: Apache License import java.math.BigDecimal; public class Main { public static BigDecimal multiply(final BigDecimal value, final BigDecimal multiplicand) { BigDecimal diff = null;//from w w w. j av a2 s .c om if (value != null && multiplicand != null) { diff = value.multiply(multiplicand); } return diff; } public static BigDecimal multiply(final BigDecimal value, final BigDecimal... multiplicand) { BigDecimal diff = null; if (value != null && multiplicand != null) { diff = value; for (final BigDecimal bd : multiplicand) { if (bd != null) { diff = diff.multiply(bd); } } } return diff; } }