Log()
Calculates the natural logarithm of a number. Natural logarithms are based on the constant e (2.71828182845904).
Log( number=number );
Returns: Number
| Argument | Description |
|---|---|
|
number
number,
required
|
edit
Positive real number for which to calculate the natural logarithm |
Examples
editThe following code example will output an example number returned from the log() function.
<cfoutput>#log(10)#</cfoutput>
See also
- Numbers
- Math
- Exp()
- numeric.log()
- Search Issue Tracker open_in_new
- Search Lucee Test Cases open_in_new (good for further, detailed examples)