Jump to navigation Jump to search
Exp returns a double-precision value equal to enumber. The required parameter, number, is any numeric expression. e is the base of natural logarithms, and is approximately equal to 2.718282.
Rem Exp Example 'Exp raises a number to the eth power Print "Exp(0) = " & Exp(0) Print "e = " & Exp(1)
// Exp Example /* Exp raises a number to the eth power */ NSB.Print("Exp(0) = " + Math.exp(0)); NSB.Print("e = " + Math.exp(1));
Exp(0) = 1 e = 2.718282