Here you can find the source of isMoreThanZero(BigDecimal decimal)
public static boolean isMoreThanZero(BigDecimal decimal)
//package com.java2s; //License from project: Open Source License import java.math.BigDecimal; public class Main { public static boolean isMoreThanZero(BigDecimal decimal) { if (decimal != null) { return decimal.compareTo(BigDecimal.ZERO) > 0; }/*from w ww. j a va2s. co m*/ return false; } }