Here you can find the source of GreaterThanOrEqual(BigDecimal one, BigDecimal two)
public static boolean GreaterThanOrEqual(BigDecimal one, BigDecimal two)
//package com.java2s; //License from project: Open Source License import java.math.BigDecimal; public class Main { public static boolean GreaterThanOrEqual(BigDecimal one, BigDecimal two) { if (!Equals(one, two)) { return GreaterThan(one, two); }//from w w w . j av a 2s.c om return true; } /** * Returns true if one == two * @param one The first number * @param two The second number * @return True if one == two, false otherwise */ public static boolean Equals(BigDecimal one, BigDecimal two) { return (one.compareTo(two) == 0); } /** * Returns true if one > two * @param one The first number * @param two The second number * @return True if one > two, false otherwise */ public static boolean GreaterThan(BigDecimal one, BigDecimal two) { return (one.compareTo(two) > 0); } }