Here you can find the source of GreaterThan(BigDecimal one, BigDecimal two)
Parameter | Description |
---|---|
one | The first number |
two | The second number |
public static boolean GreaterThan(BigDecimal one, BigDecimal two)
//package com.java2s; //License from project: Open Source License import java.math.BigDecimal; public class Main { /**/*from w w w. j a va 2 s. c o m*/ * 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); } }