Java BigDecimal Subtract subtract(BigDecimal aValue1, BigDecimal aValue2)

Here you can find the source of subtract(BigDecimal aValue1, BigDecimal aValue2)

Description

subtract

License

Open Source License

Declaration

public static BigDecimal subtract(BigDecimal aValue1, BigDecimal aValue2) 

Method Source Code


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

public class Main {

    public static BigDecimal subtract(BigDecimal aValue1, BigDecimal aValue2) {
        if (aValue1 == null || aValue2 == null)
            return null;

        return aValue1.subtract(aValue2);
    }//from  w ww .  jav a  2 s.  c  o  m
}

Related

  1. sub(BigDecimal v1, BigDecimal v2)
  2. sub(BigDecimal v1, BigDecimal v2)
  3. subtract(BigDecimal a, BigDecimal b)
  4. subtract(BigDecimal a, BigDecimal b)
  5. subtract(BigDecimal amount, BigDecimal subtrahend, int scale)
  6. subtract(BigDecimal bigDecimal, BigDecimal bigDecimal2)
  7. subtract(BigDecimal left, BigDecimal right)
  8. subtract(BigDecimal minuend, BigDecimal subtrahend)
  9. subtract(BigDecimal num1, BigDecimal num2)