Log

Calculates the natural logarithm of a number. Natural logarithms are based on the constant e (2.71828182845904).

Log( number )

Returns: Number

Argument Description
number
number, required

Positive real number for which to calculate the natural logarithm

Examples

The following code example will output an example number returned from the log() function.

<cfoutput>#log(10)#</cfoutput>

See also