|
Newsletters
|
|
|
|
|
WMLScript Reference
WMLScript Reference
WMLScript > Float > pow()
pow() - The pow Function
Usage: pow(value1, value2)
Description: Returns an implementation-dependent approximation to the result of raising value1 to the power of value2. If value1 is a negative number then value2 must be an integer.
Example:var a = 3;
var b = Float.pow(a,2); // b = 9.0
Bookmark this page
|
|