Calculates the natural logarithm of a number. Natural logarithms are based on the constant e (2.71828182845904).
The natural logarithm of a number.
Log(number)
Exp, Log10
Parameter |
Description |
|---|---|
number |
Positive real number for which to calculate the natural logarithm |
<cfscript>
val=5
writeOutput("Log of " & val & " is: " & log(val))
</cfscript>
Output
Log of 5 is: 1.60943791243
Sign in to your account