From Xojo Documentation

You are currently browsing the old Xojo documentation site. Please visit the new Xojo documentation site!
Global Method

Exp(value as Double) As Double

Supported for all project types and targets.

Returns "e" to the power of the value specified.


result=Exp (value)

Part Type Description
result Double The exponential of value.
value Double The value you want the exponential of.


The Exp function returns "e" to the power of the value passed to it.


This example uses the Exp function to return the exponential of a number.

Var d As Double
d = Exp(10) // returns 22026.4657948

See Also

^, * operators