Check out v4 of the Fauna CLI

v4 of the Fauna CLI is now in beta.

The new version introduces enhancements to the developer experience, including an improved authentication workflow. To get started, check out the CLI v4 quick start.

Math.log()

Get the natural logarithm, base e, of a number.

Signature

Math.log(x: Number) => Number

Description

Gets the natural logarithm, base e, of a number. The number x must be greater than or equal to zero.

Parameters

Parameter Type Required Description

x

Number

Yes

Number greater than or equal to zero.

Return value

Type Description

Number

Natural logarithm, base e, of x.

Examples

Math.log(10)
2.302585092994046

Is this article helpful? 

Tell Fauna how the article can be improved:
Visit Fauna's forums or email docs@fauna.com

Thank you for your feedback!