Java BigDecimal Multiply multiply(BigDecimal a, int multiplier)

Here you can find the source of multiply(BigDecimal a, int multiplier)

Description

multiply

License

Open Source License

Declaration

public static BigDecimal multiply(BigDecimal a, int multiplier) 

Method Source Code


//package com.java2s;
//License from project: Open Source License 

import java.math.BigDecimal;

public class Main {
    public static BigDecimal multiply(BigDecimal a, int multiplier) {
        return a.multiply(BigDecimal.valueOf(multiplier));
    }/*from  w  w  w  .ja  va2s .  co  m*/

    public static BigDecimal multiply(BigDecimal a, double multiplier) {
        return a.multiply(BigDecimal.valueOf(multiplier));
    }
}

Related

  1. mul(BigDecimal d1, BigDecimal d2)
  2. mul(BigDecimal v1, BigDecimal v2)
  3. mul(BigDecimal v1, BigDecimal v2)
  4. multiple(BigDecimal dividend, int divisor)
  5. multiply(BigDecimal a, BigDecimal b)
  6. multiply(BigDecimal amount, BigDecimal multiplicand, int scale)
  7. multiply(BigDecimal aValue1, BigDecimal aValue2)
  8. multiply(BigDecimal bigDecimal, BigDecimal bigDecimal2)
  9. multiply(BigDecimal left, BigDecimal right)