This is the documentation for the development version. There are no official binaries for it; build it from the source code in git. Download links on these pages work only after the release. For the current release, see version 7.0.

Math::Log10

Math::Log10(x): float

Calculates logarithm of given value to base 10.

Table 1. Parameters

x

number

Number to calculate logarithm of

Return

Logarithm of x to base 10.

println(Math::Log10(2)); // Will print "0.30103"