log10 (Function)

Signature: log10(x: float) -> float

Description: The base-10 logarithm. Total: zero yields negative infinity, a negative argument NaN.

Parameters

  • x (float): The float to take the logarithm of

Returns: float

Example

print(log10(1000.0))  // 3.0
print (log10 1000.0)  // 3.0