Exp PowerScript function
Description
Raises e to the
specified power.
Syntax
|
1 |
<span>Exp</span> ( <span>n</span> ) |
|
Argument |
Description |
|---|---|
|
n |
The power to which you want to raise e (2.71828) |
Return Values
Double. Returns e raised
to the power n. If n is null,
Exp returns null.
Inverse of Exp
The inverse of the Exp function is the Log function.
Examples
This statement returns 7.38905609893065.
|
1 |
<span>Exp</span>(2) |
These statements convert a natural logarithm (base e)
back to a regular number. When executed, Exp sets
value to 200:
|
1 |
double value, x = log(200) |
|
1 |
value = <span>Exp</span>(x) |
See Also
Document get from Powerbuilder help
Thank you for watching.
Subscribe
Login
0 Comments
Oldest