Skip to content

max

Syntax

max(x1, x2)
max(some_list)

Parameters

x1
A numeric expression.
x2
A numeric expression.
some_list
A list expression.

Returns

Gets the maximum of two values, or the maximum value in a list.

Description

If given two arguments, returns the maximum between the two arguments.

If given a list, returns the maximum value of the list.

See Also