Here you can find the source of add(BigDecimal aValue1, BigDecimal aValue2)
public static BigDecimal add(BigDecimal aValue1, BigDecimal aValue2)
//package com.java2s; import java.math.BigDecimal; public class Main { public static BigDecimal add(BigDecimal aValue1, BigDecimal aValue2) { if (aValue1 == null || aValue2 == null) return null; return aValue1.add(aValue2); }//from w ww . j a v a 2s. c om }