MAX

Returns the maximum of two expressions num1 and num2.

Format

MAX(num1,num2)

Description

MAX(num1, num2) = num1  if num1>=num2
MAX(num1, num2) = num2  if num2>num1

Arguments

num1
Any valid function expression or constant.
num2
Any valid function expression or constant.

Example

<Reference_Variable
     id                  = "1"
     label               = "MAX Example"
     type                = "EXPRESSION"
     expr                = "MAX(AY(569,193),2*PI)"
/>