Log

Returns the natural logarithm of a number.

Method Signature

Log(number=[numeric])

Arguments

Argument
Type
Required
Description
Default

number

numeric

true

The number to calculate the natural logarithm of

Examples

logarithm of 3.1

There will be a precision difference between running the some code on Linux or Windows

Run Example

log( 3.1 );

Result: 1.131402111492791384577570144178438

Additional Examples

<bx:output>#log( 10 )#</bx:output>

Last updated

Was this helpful?