_@MAX

_@MAX function is used in a Logic Template to compare two or more values and return the largest of them.

Returns

Description

The largest value in the list of arguments.

Format
_@MAX
( val_1, val_2 [, val_3 [ ... ]]);

Argument

Description

val_1

The first value to be compared.

val_2

The second value to be compared.

val_3

The third value to be compared.

...

Continue for additional values.

Example
//Return the largest of the listed prices

PRICE = _@MAX( Price1, Price2, Price3, Price4 );