Java BigDecimal Multiply multiply(BigDecimal v1, BigDecimal v2)

Here you can find the source of multiply(BigDecimal v1, BigDecimal v2)

Description

multiply

License

Open Source License

Declaration

public static BigDecimal multiply(BigDecimal v1, BigDecimal v2) 

Method Source Code


//package com.java2s;
import java.math.BigDecimal;

public class Main {

    public static BigDecimal multiply(String v1, String v2) {

        return multiply(new BigDecimal(v1), new BigDecimal(v2));
    }//w  w w.  j av a2 s  .  c  o m

    public static BigDecimal multiply(double v1, double v2) {

        return multiply(new BigDecimal(v1), new BigDecimal(v2));
    }

    public static BigDecimal multiply(BigDecimal v1, BigDecimal v2) {

        return v1.multiply(v2);
    }
}

Related

  1. multiply(BigDecimal num1, BigDecimal num2)
  2. multiply(BigDecimal number1, BigDecimal number2, int decimalPlaces)
  3. multiply(BigDecimal one, BigDecimal another)
  4. multiply(BigDecimal op1, int op2)
  5. multiply(BigDecimal toBeMultiplied, int multiplyBy)
  6. multiply(BigDecimal value, Integer multiplier)
  7. multiply(BigDecimal... operands)
  8. multiply(final BigDecimal val1, final BigDecimal val2)
  9. multiply(final BigDecimal value, final BigDecimal multiplicand)