mathLib.maximum

The system function mathLib.maximum returns the greater of two numbers.


mathLib.maximum syntax diagram

result

Any numeric or HEX item, as described in Mathematical (system words). The greater of two numbers is converted to the format of result and returned in result.

numericItem1

Any numeric or HEX item, as described in Mathematical (system words).

numericItem2

Any numeric or HEX item, as described in Mathematical (system words).

Example

  result = mathLib.maximum(myItem01,myItem02);

Related reference
Mathematical (system words)