LOG

Purpose : Calculates the natural (base e) logarithm of a numeric value.

Format:     LOG( value )

Notes:      LOG  calculates the natural logarithm  ( base e,  where e = 2.718282...). value  must be a constant or a numeric variable name.  The natural logarithm of  value  is the power of which  e  would have to be raised to equal  value.

Example:

# Log calculator

input a " Enter Number: "

# Using the LOG Function

b = log(a)

# Print out the results

message "The Log of " a " is " b

pause
exit