Math.log10()

Get the base 10 logarithm of a number.

Signature

Math.log10(x: Number) => Number

Description

Gets the base 10 logarithm of x.

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!