Here you can find the source of isEqualsToZero(BigDecimal value)
public static boolean isEqualsToZero(BigDecimal value)
//package com.java2s; //License from project: Apache License import java.math.BigDecimal; public class Main { public static boolean isEqualsToZero(BigDecimal value) { return value.compareTo(BigDecimal.ZERO) == 0; }/*from w w w. j a va2 s. c om*/ }