Remote Processing CAMBASIC User Manual

Page 109

Advertising
background image

Comm ands - 76

LOG

Numeric Fun ction

SYNTAX:

n = LOG(m)

PURPOSE:

To return the natural logarithm of m.

REMARK S:

The natural logarithm is the logarithm to the base e (2.718282).

EXAMPLE:

PRINT LOG(45/7)
1.86075

ERROR:

< Illegal argument> – if m is zero or negative.

Advertising