LOG

Top  Previous  Next

Syntax

DOUBLE = LOG(num as DOUBLE)

Description

Calculates the natural logarithm of a number if successful

Parameters

num - Value whose logarithm is to be found

Return value

The logarithm of a number unless the number is less than or equal to zero. If the input is less than zero then the result is indefinite. If the input is equal to zero then the result is infinite and cannot be represented.

Remarks

See also LOG10

Example usage

PRINT LOG(9000.0)