Skip to end of banner
Go to start of banner

random

Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 3 Current »

Looking for the documentation on the newest versions of SIL Engine and the Simple Issue Language for Jira 8 for Server/Data Center? Click here !

Availability

This routine is available starting with SIL Engine™ 2.5.

Syntax

random(number)

Description


Returns a random int value between 0 (inclusive) and the specified value (exclusive). This works for integers only.


Parameters

ParameterTypeRequiredDescription
numberNumberYesNumber to get the random int value for.

Return type

number

Example

number a = random(4);
print("a= " + a);

Prints: a= 3;

See also


  • No labels