Difference between revisions of "Sqrt"

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

Revision as of 14:39, 15 April 2013

Overview

This sqrt(d) function will return the result of square rooting d.

  • Pass: An Double to find square root of
  • Returns: A Double which is the square root

Example

#include <maths>

function void main() {
   var a:=sqrt(8.3);
};

Since: Version 0.41b