exp

The Math.exp() method returns the value of Ex, where E is Euler's number (approximately 2.7183)

Syntax

Math.exp(x)

Returns

Ex, where E is Euler's number

Parameters

x (float)
A number.