Here you can find the source of add(long val, long augend)
public static BigDecimal add(long val, long augend)
//package com.java2s; //License from project: Open Source License import java.math.BigDecimal; public class Main { public static BigDecimal add(long val, long augend) { return add(bd(val), augend); }//from www .j a v a 2 s . c om public static BigDecimal add(BigDecimal val, long augend) { return add(val, bd(augend)); } public static BigDecimal add(BigDecimal val, BigDecimal augend) { return val.add(augend); } public static BigDecimal bd(long val) { return BigDecimal.valueOf(val); } public static BigDecimal bd(double val) { return BigDecimal.valueOf(val); } }