Exp
PowerScript function
Description
Raises e to the specified power.
Syntax
|
1 |
Exp ( n ) |
|
Argument |
Description |
|---|---|
|
n |
The power to which you want to raise e (2.71828) |
Return value
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 |
Exp(2) |
These statements convert a natural logarithm (base e) back to a
regular number. When executed, Exp sets value to 200:
|
1 2 |
double value, x = log(200) value = Exp(x) |
See also
Exp method for DataWindows in the section called “Exp” in DataWindow Reference.
Document get from Powerbuilder help
Thank you for watching.
Subscribe
Login
0 Comments
Oldest