Returns the natural (baseE) logarithm of a specified number.

Syntax

Smartsite SXML CopyCode image Copy Code
float math.log(float a)
float math.log(float a, float newBase)

Parameters

Name Data Type Description
a Float A number whose logarithm is to be found.
newBase Float The base of the logarithm.

Return Value

Data Type Description
Float The natural logarithm ofA.

Expand image Example

SXML