Java Number Min Value min(float a, float b)

Here you can find the source of min(float a, float b)

Description

min

License

Open Source License

Declaration

public static float min(float a, float b) 

Method Source Code

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

public class Main {
    public static float min(float a, float b) {
        return a < b ? a : b;
    }//  w  ww  .  j a va2s.c o  m

    public static float min(int a, int b) {
        return a < b ? a : b;
    }

    public static float min(float a, float b, float c) {
        return a < b ? (a < c ? a : c) : (b < c ? b : c);
    }

    public static float min(int a, int b, int c) {
        return a < b ? (a < c ? a : c) : (b < c ? b : c);
    }
}

Related

  1. min(final Iterable numbers)
  2. min(final NUMBER_TYPE n1, final NUMBER_TYPE n2)
  3. min(final NUMBER_TYPE number1, final NUMBER_TYPE number2)
  4. min(final String string1, final String string2)
  5. min(float a, float b)
  6. min(float a, float b, float c, float d, float e)
  7. min(float dirOffset, float min, float max)
  8. min(float value1, float value2)
  9. min(float value1, float value2)