Skip to content

MAX()

Synopsis

Returns the maximum of two numbers.

Since

16.19.0, 18.5.0, 19.0.0

Description

Returns the maximum of two numbers num1 and num2.

Example: Sets the max variable equal to 13
same => n,Set(max=${MAX(4,7)})

Syntax

MAX(num1,num2)
Arguments
  • num1

  • num2

Generated Version

This documentation was generated from Asterisk branch 22 using version GIT