Exp: Difference between revisions

From NSB App Studio
Jump to navigation Jump to search
Brendon (talk | contribs)
Created page with "EXP(''number'') '''Description''' EXP returns a double-precision value equal to e<sup>number</sup>. The required parameter, ''number'', is any numeric expression. e is the b..."
 
Brendon (talk | contribs)
No edit summary
Line 1: Line 1:
EXP(''number'')
Exp(''number'')


'''Description'''
== Description ==


EXP returns a double-precision value equal to e<sup>number</sup>. The required parameter, ''number'', is any numeric expression. e is the base of natural logarithms, and is approximately equal to 2.718282.
Exp returns a double-precision value equal to e<sup>number</sup>. The required parameter, ''number'', is any numeric expression. e is the base of natural logarithms, and is approximately equal to 2.718282.


'''Example'''
== Example ==


<pre>
<pre>
REM EXP Example
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 "Exp(0) = " & Exp(0)
PRINT "e = " & EXP(1)
PRINT "e = " & Exp(1)
</pre>
</pre>


'''Output'''
== Output ==


<pre>
<pre>
EXP(0) = 1
Exp(0) = 1
e = 2.718282
e = 2.718282
</pre>
</pre>


'''Related Items'''
== Related Items ==


[[log|LOG]]
[[log|LOG]]
[[Category:Language Reference]]

Revision as of 21:22, 8 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

Related Items

LOG