max(Variable, Variable) Function

Top 

Description

Returns the maximum of the two arguments.

 

Timing Precision Mode

This page describes functionality in nanosecond timing precision mode.

 

Function Signature

max(

Variable value,


Variable value)

 

Arguments

value


Description:

Value to compare.

 

value


Description:

Value to compare.

 

 

Return Value

Type:

number

 

Returns the maximum of the two values.

 

Syntax

myVariable1 = max(myVariable2, myVariable3);

 

See also

max