Skip to main content
Version: Next

Log

Log ( number ) -> Function result

ParameterTypeDescription
numberReal🡒Number for which to return the log
Function resultReal🡐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)))

See also

Exp