Here you can find the source of greaterEqualThan(BigDecimal val, double threshold)
public static boolean greaterEqualThan(BigDecimal val, double threshold)
//package com.java2s; import static java.util.Objects.requireNonNull; import java.math.BigDecimal; public class Main { public static boolean greaterEqualThan(BigDecimal val, double threshold) { requireNonNull(val); return val.compareTo(BigDecimal.valueOf(threshold)) >= 0; }//from w w w . j av a 2 s.co m public static boolean greaterEqualThan(BigDecimal val, BigDecimal threshold) { requireNonNull(val); return val.compareTo(threshold) >= 0; } }