max()
Calculates the maximum of two numbers.
z = max(x, y);
x
the first number, any data type
y
the second number, any data type
The larger of the two numbers.
sensVal = max(sensVal, 20); // assigns sensVal to the bigger of sensVal or 20
// ensuring that it never gets below 20.