- 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"