max()
Purpose
Returns the maximum of two numbers
Description
Find which is the highest of two numbers
Syntax
result = max( number1, number2 )
Arguments
number1 first number
number2 second number
result whichever is the highest of number1 or number2
Example
a = 2
b = -2
// Prints 2
print( max( a, b ) )
update()
sleep( 3 )
Associated Commands