EXP(numericExpression)
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
.
PRINT "e = "; EXP(1)
PRINT "e^2 = "; EXP(2)
- 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.