log
Returns logarithm of the specified number.
Syntax
log(x)
Parameters
Parameter |
Type |
Description |
---|---|---|
x |
number |
Numeric value (the value should be positive) |
Return
Returns logarithm of x.
Examples
Python
import math
y = math.log(2.5)
NexScript
y = log(2.5)