Difference between revisions of "Pow"

From Mesham
Jump to navigationJump to search
m
Line 9: Line 9:
  
 
  #include <maths>
 
  #include <maths>
  var a:=pow(2,8);
+
   
 +
function void main() {
 +
    var a:=pow(2,8);
 +
};
  
 
''Since: Version 0.41b''
 
''Since: Version 0.41b''

Revision as of 14:37, 15 April 2013

Overview

This pow(n,x) function will return n to the power of x.

  • Pass: Two Ints
  • Returns: A Double representing the squared result

Example

#include <maths>

function void main() {
   var a:=pow(2,8);
};

Since: Version 0.41b