Skip to end of metadata
Go to start of metadata

RAND()

Synopsis

Choose a random number in a range.

Description

Choose a random number between min and max. min defaults to 0, if not specified, while max defaults to RAND_MAX (2147483647 on many systems).

Example: Set random number between 1 and 8, inclusive

Syntax

RAND(min,max)
Arguments
  • min
  • max

See Also

Import Version

This documentation was imported from Asterisk Version GIT-19-6436d82

  • No labels