Here you can find the source of Minimum(float x, float y)
Returns the minimum of two float values
Parameter | Description |
---|---|
x | A float |
y | A float |
public static float Minimum(float x, float y)
//package com.java2s; //License from project: Open Source License public class Main { /**/*from w w w. ja v a 2 s . c o m*/ * <p> * Returns the minimum of two float values * </p> * @param x A float * @param y A float * @return The minimum float in the comparison */ public static float Minimum(float x, float y) { if (x < y) return (x); else return (y); } }