log10()

Scalar. Returns the logarithm of a given value to a base of 10.

Syntax

log10 ( value )

Parameters

value

An expression that evaluates to a float greater than or equal to 0.

Usage

Returns the logarithm of a given value to a base of 10. The function expects a float as it argument, however, an integer will be promoted to a float when the function executes. The function returns a float.

Example

log (100.0) returns 2.0.