4D v16.3

Log

Home

 
4D v16.3
Log

Log 


 

Log ( number ) -> Function result 
Parameter Type   Description
number  Real in Number for which to return the log
Function result  Real in 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...).

Example  

The following line displays 1:

 ALERT(String(Log(Exp(1)))



See also 

Exp

 
PROPERTIES 

Product: 4D
Theme: Math
Number: 22

This command can be run in preemptive processes

 
HISTORY 

Created: < 4D v6

 
ARTICLE USAGE

4D Language Reference ( 4D v16)
4D Language Reference ( 4D v16.1)
4D Language Reference ( 4D v16.2)
4D Language Reference ( 4D v16.3)