Whatever message this page gives is out now! Go check it out!

Log10

Last update:
May 18, 2026

Description

Calculates the logarithm of number, to base 10.

Returns

Number; the logarithm of number, to base 10.

Category

Function syntax

Log10(number)

See also

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

Share this page

Was this page helpful?
We're glad. Tell us how this page helped.
We're sorry. Can you tell us what didn't work for you?
Thank you for your feedback. Your response will help improve this page.

On this page