Math::Log

Math::Log(x): float

Calculates natural logarithm.

Table 1. Parameters

x

number

Number to calculate natural logarithm of

Return

Natural logarithm of x.

println(Math::Log(2)); // Will print "0.693147"