Java BigDecimal Multiply multiply(BigDecimal num1, BigDecimal num2)

Here you can find the source of multiply(BigDecimal num1, BigDecimal num2)

Description

multiply

License

Apache License

Declaration

public static BigDecimal multiply(BigDecimal num1, BigDecimal num2) 

Method Source Code


//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);
    }
}

Related

  1. multiply(BigDecimal aValue1, BigDecimal aValue2)
  2. multiply(BigDecimal bigDecimal, BigDecimal bigDecimal2)
  3. multiply(BigDecimal left, BigDecimal right)
  4. multiply(BigDecimal multiplier1, BigDecimal multiplier2, int scale)
  5. multiply(BigDecimal num1, BigDecimal num2)
  6. multiply(BigDecimal number1, BigDecimal number2, int decimalPlaces)
  7. multiply(BigDecimal one, BigDecimal another)
  8. multiply(BigDecimal op1, int op2)
  9. multiply(BigDecimal toBeMultiplied, int multiplyBy)