max(Variable, Variable) Function

Top 

Description

Returns the maximum of the two arguments.

 

Timing Precision Mode

This page describes functionality in millisecond timing precision mode. Millisecond timing precision mode is deprecated and will be removed in a future release. We recommend that you migrate your Mission Plans to 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