NXSL:max

This Wiki is deprecated and we are are currrently migrating remaining pages into product documentation (Admin Guide, NXSL Guide)

Returns maximal value from a list of values.


Syntax

max(number1 [,number2] [,number n]);


Parameters

numbers separated by comma


Return Value

Maximal value of numbers.


Examples

max(2, 3, 4, 8)	->	8