Here you can find the source of greaterThan(BigDecimal val1, BigDecimal val2)
public static boolean greaterThan(BigDecimal val1, BigDecimal val2)
//package com.java2s; //License from project: Apache License import java.math.BigDecimal; public class Main { public static boolean greaterThan(BigDecimal val1, BigDecimal val2) { int compareValue = val1.compareTo(val2); return (compareValue > 0); }/*from w w w . jav a 2 s .c o m*/ }