Here you can find the source of nvlZero(BigDecimal num)
public static BigDecimal nvlZero(BigDecimal num)
//package com.java2s; //License from project: Open Source License import java.math.BigDecimal; public class Main { public static BigDecimal nvlZero(BigDecimal num) { return num == null ? BigDecimal.ZERO : num; }//from ww w . j a v a2 s. c o m public static Long nvlZero(Long num) { return num == null ? new Long(0) : num; } }