Log10

The Log10() function calculates the base-10 logarithm of a given number.

This function is NOT SQL compatible. For more information about SQL compatibility, see our documentation.

Returns the base-10 logarithm of number. Returns Invalid expression if the parameter value is not a valid number.

Syntax

Log10(number)

Log10(100000) => 5

Log10() => Invalid expression

Parameters

NameTypeRequiredDescription

number

numeric

a numeric value.

Examples

Function callResult

Log10(0)

(no value)

Log10(100000)

5

Log10(0.00005)

-4.3010299957

Log10(-20)

(no value)

Last updated