Exp: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
Line 8: | Line 8: | ||
<pre> | <pre> | ||
Rem Exp Example | |||
'Exp raises a number to the eth power | 'Exp raises a number to the eth power | ||
Print "Exp(0) = " & Exp(0) | |||
Print "e = " & Exp(1) | |||
</pre> | </pre> | ||
Line 23: | Line 23: | ||
== Related Items == | == Related Items == | ||
[[log| | [[log|Log]] | ||
[[Category:Language Reference]] | [[Category:Language Reference]] |
Revision as of 00:51, 24 August 2012
Exp(number)
Description
Exp returns a double-precision value equal to enumber. The required parameter, number, is any numeric expression. e is the base of natural logarithms, and is approximately equal to 2.718282.
Example
Rem Exp Example 'Exp raises a number to the eth power Print "Exp(0) = " & Exp(0) Print "e = " & Exp(1)
Output
Exp(0) = 1 e = 2.718282