User Tools

Site Tools

Navigation:  Language Reference > 13 - Built-in Functions >====== LOGE (return natural logarithm) ====== Previous pageReturn to chapter overviewNext page



LOGE Returns the natural logarithm.
expression A numeric constant, variable, or expression. If the value of the expression is less than zero, the return value is zero. The natural logarithm is undefined for values less than zero.

The LOGE (pronounced “log-e”) procedure returns the natural logarithm of a numeric expression. The natural logarithm of a value is the power to which e must be raised to equal that value. The value of e used internally by the Clarion library for these calculations is 2.71828182846.

Return Data Type: REAL


!LOGE(2.71828182846)  returns 1

!LOGE(1)              returns 0

LogVal = LOGE(Val)     !Get the natural log of Val

See Also:


loge_return_natural_logarithm_.htm.txt · Last modified: 2021/04/15 15:57 by