LOG
Format: var = LOG (expr)
Supported by: COMX BASIC V1.00, Floating Point BASIC 2.2, Pecom 32 BASIC, Pecom 64 BASIC 1.0 and 4.0, Quest Super BASIC 1.4, 3.0, 5.0 and 6.0, RCA BASIC3 V1.1, Telmac SBASIC v 24.3
Similar commands: -
This function returns a floating point number the value of which is the natural logarithm of the value of the expression.
For example
PR LOG (10)
will print
2.3026
and
PR LOG (EXP (2))
will print
2