Skip to content
ezeioDocs
  1. Reference
  2. Script reference
  3. Math and control

MAX

Macro that will return the larger of two values

Description#

MAX( value1, value2 )

Returns the larger of two values

Works with both float and integer parameters.

Parameters#

value1 input value
value2 input value

Return value#

Returns the larger of value1 and value2.

Example usage#

   new n;
 
   n = MAX(51, 53);    // 53

Last updated Nov 19, 2019