Operator Type:
Operator Scope of Action:
Operator Purpose:
Operator First Added:
Operator Altered:
Function [other Function type actions]
Item [operators of similar scope]
Mathematical [other Mathematical operators]
Baseline
log(number)
The operator log() computers the natural logarithm of its argument, which should be a number, a numeric attribute, or an expression that can be interpreted as a number.
$MyNumber = log(3);
returns '1.098612289' for an input of 3.