Difference between revisions of "PI"

From Mesham
Jump to navigationJump to search
(Created page with '== Overview == This pi[] function will return PI. ''Note: The number of significant figures of PI is implementation specific.'' * '''Pass:''' None * '''Returns:''' A double rep…')
 
m
Line 1: Line 1:
 
== Overview ==
 
== Overview ==
  
This pi[] function will return PI.
+
This pi() function will return PI.
 
''Note: The number of significant figures of PI is implementation specific.''
 
''Note: The number of significant figures of PI is implementation specific.''
  
Line 9: Line 9:
 
== Example ==
 
== Example ==
  
  var a:=pi[];
+
  var a:=pi();
  
 
[[Category:Function Library]]
 
[[Category:Function Library]]
 
[[Category:Maths Functions]]
 
[[Category:Maths Functions]]

Revision as of 12:52, 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

var a:=pi();