{{getMsg('Help_YouAreHere')}}:
/
{{page.title}}
{{page.title}}
{{$root.getMsg("downLoadHelpAsPdf")}}
{{helpModel.downloadHelpPdfDataStatus}}
Log
This function returns the natural (base e, approximately 2.718) logarithmic value of the number given. This is the inverse to the function Exp(number).
Note that the natural logarithm function is undefined for values less than 0.
Usage:
Log( number )
Parameters:
number | The number to compute the logarithmic value (to the base of e) of. |
---|
Returns:
Number
Examples (Both Crystal and Basic):
Log(0) // Returns -INFINITY Log(exp(1)) // Returns 1 Log(exp(1)*exp(1)) // Returns 2 Log(100) // Returns 4.61