Log
Log ( number ) : Real
Parameter | Type | Description | |
---|---|---|---|
number | Real | → | Number for which to return the log |
Function result | Real | ← | Log of number |
Description
Log returns the natural (Napierian) log of number. Log is the inverse function of Exp.
Note: 4D provides the predefined constant e number (2.71828...).
Example
The following line displays 1:
ALERT(String(Log(Exp(1)))