Math.ln()

Get the base 10 logarithm of a number.

Signature

Math.ln(x: Number): Number

Description

Return the base 10 logarithm of a number.

Parameters

Parameter Type Required Description

x

Number

Yes

Number greater than or equal to zero.

Return value

Type Description

Number

Base 10 logarithm of x.

Examples

Math.log10(2)
 0.3010299956639812

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!