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 (5 revisions imported) |
||
(4 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
== Overview == | == Overview == | ||
− | This 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.'' | ||
* '''Pass:''' None | * '''Pass:''' None | ||
− | * '''Returns:''' A | + | * '''Returns:''' A [[Double]] representing PI |
== Example == | == Example == | ||
− | var a:=pi | + | #include <maths> |
+ | |||
+ | function void main() { | ||
+ | var a:=pi(); | ||
+ | }; | ||
+ | |||
+ | ''Since: Version 0.41b'' | ||
[[Category:Function Library]] | [[Category:Function Library]] | ||
[[Category:Maths Functions]] | [[Category:Maths Functions]] |
Latest revision as of 15:44, 15 April 2019
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> function void main() { var a:=pi(); };
Since: Version 0.41b