You have been redirected from an outdated version of the article. Below is the content available on this topic. To view the old article click here.

max()

Usage

max(val1, val2)

Description
Returns the greater of the given values. This method tries to convert its parameter objects into numerical values, i.e. you can use strings as arguments. See also min().

Example

${max(5, 8)}

results in

8.0

Search results for "max()"

max()

Returns the greater of the given values. This method tries to convert its parameter objects into numerical values, i.e. you can use strings as arguments. See also min().

max(val1, val2)