CoronaSDK 2013.1120 | Released: 21 May 2013, 2:31pm | What's New | Download Now
These docs are *very* out of date.
You will be redirected to the new docs in a few seconds.
If you are certain you want to see the old docs, click cancel.
Cancel | Continue to new docs
You will be redirected to the new docs in a few seconds.
If you are certain you want to see the old docs, click cancel.
Cancel | Continue to new docs
math.exp()
Description:
Returns e (the base of natural logarithms) raised to a given power.
Syntax:
math.exp (x)
Example:
print (math.exp(0)) ---> 1 print (math.exp(1)) ---> 2.718281828459
Parameters:
x
A number.
Returns:
A number.
Remarks:
Supported on operating systems and platforms for build numbers shown:
- Mac OS X:Corona SDK 1.0
- Windows:Corona SDK 2.0
- iOS:Corona SDK 1.0
- Android:Corona SDK 2.0