Java Number Max Value max(double number1, double number2)

Here you can find the source of max(double number1, double number2)

Description

max

License

Open Source License

Declaration

public static double max(double number1, double number2) 

Method Source Code

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

public class Main {
    public static double max(double number1, double number2) {
        return number1 > number2 ? number1 : number2;
    }/*w ww.  j av a2s. c  o  m*/

    public static int max(int number1, int number2) {
        return number1 > number2 ? number1 : number2;
    }
}

Related

  1. max(double d1, double d2)
  2. max(double first, double second, double third, double fourth)
  3. max(double n1, double n2, double n3)
  4. max(double no1, double no2, double no3)
  5. max(double num1, double num2, double num3)
  6. max(double one, double two)
  7. max(double paramDouble1, double paramDouble2, double paramDouble3)
  8. max(double v1, double v2, double v3, double v4)
  9. max(double x, double y)