Skip to content

Latest commit

 

History

History
31 lines (19 loc) · 511 Bytes

exp.md

File metadata and controls

31 lines (19 loc) · 511 Bytes

EXP

Syntax

EXP(numericExpression)

Description

Returns e to the power of numeric expression given, e is a real number, which can be obtained with EXP(1).

Both the argument and the result are of type Float.

Examples

PRINT "e = "; EXP(1)
PRINT "e^2 = "; EXP(2)

Remarks

  • This function is 100% Sinclair BASIC Compatible
  • If the given argument type is not float, it will be converted to float before operating with it.

See also