| Concept Framework 2.2 documentation | Contents | Index |
| Name | Version | Deprecated |
| pow | version 1.0 | no |
| number pow(number x, number y) |
| x | [in] Base |
| y | [in] Exponent |
| The pow function computes x raised to the power of y. |
import standard.C.math
class Main {
function Main() {
var x = 2;
var y = 3;
var z;
z = pow(x, y);
echo "" + x + " to the power of " + y + " is " + z;
}
}
Results
2 to the power of 3 is 8
|
| Documented by Simona Gabriela Plesuvu, generation time: Sun Jan 27 18:15:14 2013 GMT | (c)2013 Devronium Applications |