# (exp number)
[GstarCAD 2012](../../../Index.md) → [Developer Reference](../../%28Developer%20Reference%29.md) → [AutoLISP Reference](../%28AutoLISP%20Reference%29.md) → [LISP Functions](%28LISP%20Functions%29.md)
<!-- help-structure:notice -->
> **Source status:** This source topic has 1 recorded inherited issue(s). [Source issue details](../../../Source%20Issues.md).
<!-- /help-structure:notice -->
<a id="170"></a>
## (exp number)
---
Calculate the natural exponent.
---
The **exp** returns the natural exponent (the inverse of the natural logarithmic function) raised to the power of the *number* (***e<sup>x</sup>***), where e \= 2.71828. The result is a [real number](../../../Source%20Issues.md#issue-4afa34feb9e97c12).
### Examples
| Code | Returns |
| --- | --- |
| (**exp** 0\) | 1.00000 |
| (**exp** 2\) | 7.38906 |
| (**exp** -3.2) | 0.0407622 |
| (**exp** pi) | 23.1407 |
**Tell me about...**
[(expt base power)](%28expt%20base%20power%29.md)
[(log number)](%28log%20number%29.md)
[(log10 number)](%28log10%20number%29.md)
[(sqrt number)](%28sqrt%20number%29.md)
[LISP Compatibility](../LISP%20Compatibility.md)
[Programming Overview of LISP (LISt Processing) Language](../Programming%20Overview%20of%20LISP%20%28LISt%20Processing%29%20Language.md)
<a id="holding"></a>
## Other versions with matching text
[GstarCAD 2011](../../../../2011/Developer%20Reference/AutoLISP%20Reference/LISP%20Functions/%28exp%20number%29.md)