log
Calculates the natural logarithm of a number. Natural logarithms are based on the constant e (2.71828182845904).
log(number) → returns numeric
Argument Reference
number numeric Required
Examples Sample code invoking the log function
There will be a precision difference between running the some code on Linux or Windows
log(3.1) Expected Result: 1.131402111491
© 2012–present Foundeo, Inc. and the CFDocs contributors.
Licensed under the MIT License.
ColdFusion is a trademark of Adobe Systems Incorporated.
https://cfdocs.org/log