This is the legacy 4D documentation web site. Documentations are progressively being moved to developer.4d.com |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
4D v20 R7
Log
|
Log ( number ) -> Function result | ||||||||
Parameter | Type | Description | ||||||
number | Real |
![]() |
Number for which to return the log | |||||
Function result | Real |
![]() |
Log of number | |||||
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...).
The following line displays 1:
ALERT(String(Log(Exp(1)))
Product: 4D
Theme: Math
Number:
22
Created: < 4D v6
4D Language Reference ( 4D v20 R7)