Brekeke SIP Server Wiki

$math.max

Get the highest numerical value

 

Syntax:
$math.max( num1, num2, [num3] )

 

Parameters:

num – numbers

 

Returns:

The highest numerical value.

 

Version Since:

1.0

 

Where the function can be used:
  • Preliminary rules
  • Regular rules
Example:
$math.max( “100”, “200”, "300" ) = (.+)

It will return 300.

 

See Also:

$math.min

Yes No
Suggest Edit