max Function

To calculate the maximum value from a range of values, use the max function.

Syntax:

  max(range)