Scratch for Java

Operators::logOf()

"Log" is short for "logarithm." The log function figures out how many times 10 must be multiplied by itself to get the value. For example, if the value is 100, the answer is 2 because 10×10 is 100.

Syntax

Java

.logOf(x)

Parameters

Name Data Type Description
x double a value

Return

double

logOf()