Skip to main content

exp

exp ( number : number ) : number

ParameterTypeDescription
numbernumber->Number to evaluate
Resultnumber<-Natural log base by the power of number

Description

exp raises the natural log base (e = 2.71828...) by the power of number. exp is the inverse function of log.

note

Qodly provides the predefined constant e number (2.71828...).

Example

The following example assigns the exponential of 1 to vrE (the log of vrE is 1):

 var vrE : number
vrE = exp(1) // vrE gets 2.17828...

See also

log