This is the documentation for the development version. There are no official binaries for it; build it from the source code in git. Download links on these pages work only after the release. For the current release, see version 7.0.

max()

Deprecated in 5.0.

Please use Math::Max instead.

max(value1, value2, ...): number

Returns maximal value from a list of values.

Table 1. Parameters

values

Number

Values separated by comma

Return

Maximal value.

println(max(2, 3, 4, 8)); //Will print "8"