Warning |
---|
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 ! |
Info | ||
---|---|---|
| ||
This routine is available since katl-commons starting with SIL Engine™ 2.5. |
Syntax
:log(number, base)
Description
:Excerpt |
---|
Returns the logarithm of a number to the base you specify. |
Parameters
:Parameter | Type | Required | Description |
---|---|---|---|
number | Number | Yes |
Positive real number |
you want the logarithm for. | ||
base | Number | Yes |
Base of the logarithm. |
Return type
:number
Example
:Code Block |
---|
number a = log(100, 10); print("a= " + a); number b = log(8, 2); print("b= " + b); |
Prints:
a= 2;
b= 3;
See
Also:contentbylabel
also
Filter by label (Content by label) | ||||||||
---|---|---|---|---|---|---|---|---|
|