Looking for the documentation on the newest versions of SIL Engine and the Simple Issue Language for Jira 8? Click here and leave these dusty old pages behind!
Availability
This routine is available starting with SIL Engine™ 2.5.
Syntax
power(base, exponent)
Description
Returns the number raised to the desired power.
Parameters
Parameter | Type | Required | Description |
---|---|---|---|
number | Number | Yes | Base number. |
base | Number | Yes | Exponent the base number is raised to. |
Return type
number
Example
number a = power(2, 3); print("a= " + a);
Prints: a= 8;
See also