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