Language Reference exp Method


Description

Computes e to the power of the supplied numeric argument.

Syntax

var varName = Math.exp( number )

Arguments

number: A numeric value representing the desired power of e.

Return Value

enumber where e is Euler's constant and number is the supplied argument.