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.
Math::Max
- Math::Max(x, y, …): number
-
Returns maximal value from given numbers or array(s) of numbers.
x, y, … |
number, Array |
Comma separated numbers or array(s) of numbers |
Return
Maximal value.
println(Math::Max(2, 3, 4, 8)); // Will print "8"
println(Math::Max(1, 2, [1, 2, 3])); // Will print "3"