Skip to content

Latest commit

 

History

History
22 lines (17 loc) · 449 Bytes

File metadata and controls

22 lines (17 loc) · 449 Bytes

Math::Max

Math::Max(x, y, …​): number

Returns maximal value from given numbers or array(s) of numbers.

Table 1. Parameters

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"