Log10

Description

Calculates the logarithm of number, to base 10.

Returns

Number; the logarithm of number, to base 10.

Category

Mathematical functions

Function syntax

Log10(number)

See also

Log

Parameters

Parameter

Description

number

Positive real number for which to calculate the logarithm

Example

<cfscript>
    val=5
    writeOutput("The log base 10 of " & val & " is: " & log10(val))
</cfscript>

Output

The log base 10 of 5 is: 0.698970004336

Adobe logo

Sign in to your account