log/2—return the natural logarithm of a specified  number


The log/2 function calculates the natural logarithm (base e or 2.718281828...) of the number specified in the $NUMBER argument and returns the result in the $RESULT argument.

$RESULT=log($NUMBER)

log/2 arguments

Argument

Mode

Type

Description

$NUMBER

Input

INTEGER|REAL

Specifies the numeric (integer or real) value for which the natural logarithm is to be returned

$RESULT

Output

REAL

The natural logarithm of the number, returned as a real value

log/2 example

$LOG = log( $VAL );

 

Tip: For faster searching, add an asterisk to the end of your partial query. Example: cert*