QBasic 1.1: LOG Function

Syntax

EXP(numeric-expression)
LOG(numeric-expression)

Description / Parameter(s)

numeric-expression For EXP, a number less than or equal to 88.02969.
For LOG, any positive numeric expression.

Example

PRINT EXP(0), EXP(1) 'Output is: 1 2.718282 PRINT LOG(1), LOG(EXP(1)) 'Output is: 0 1