Java BigDecimal Max maxValue(BigDecimal origen, BigDecimal montoMaximo)

Here you can find the source of maxValue(BigDecimal origen, BigDecimal montoMaximo)

Description

max Value

License

Open Source License

Declaration

public static boolean maxValue(BigDecimal origen, BigDecimal montoMaximo) 

Method Source Code


//package com.java2s;
//License from project: Open Source License 

import java.math.BigDecimal;

public class Main {
    public static boolean maxValue(BigDecimal origen, BigDecimal montoMaximo) {
        if (origen == null)
            return false;

        return origen.compareTo(montoMaximo) > 0;
    }/*w w w  .  j a v a 2 s. c  o  m*/
}

Related

  1. max(final List list)
  2. max(List numbers)
  3. maximum(BigDecimal... decimals)
  4. maximum(BigDecimal... values)
  5. maxUsingFirstSignum(final BigDecimal... values)
  6. maxValue(BigDecimal[] bigDecimalNumbers)