max()MathCalculationWeb & Application
int a = max(5, 9); // Sets "a" to 9
int b = max(-4, -12); // Sets "b" to -4
float c = max(12.3, 230.24); // Sets "c" to 230.24
Determines the largest value in a sequence of numbers.
max(value1, value2)
max(value1, value2, value 3)
int or floatint or floatint or floatint or float (depending on the inputs)
min()
1.0FunctionPDE