Difference between revisions of "PI"

From Mesham
Jump to navigationJump to search
m
m
Line 5: Line 5:
  
 
* '''Pass:''' None
 
* '''Pass:''' None
* '''Returns:''' A double representing PI
+
* '''Returns:''' A [[Double]] representing PI
  
 
== Example ==
 
== Example ==
Line 11: Line 11:
 
  #include <maths>
 
  #include <maths>
 
  var a:=pi();
 
  var a:=pi();
 +
 +
''Since: Version 0.41b''
  
 
[[Category:Function Library]]
 
[[Category:Function Library]]
 
[[Category:Maths Functions]]
 
[[Category:Maths Functions]]

Revision as of 18:36, 13 January 2013

Overview

This pi() function will return PI. Note: The number of significant figures of PI is implementation specific.

  • Pass: None
  • Returns: A Double representing PI

Example

#include <maths>
var a:=pi();

Since: Version 0.41b