Difference between revisions of "ApCoCoA-1:Fn.Pi"

From ApCoCoAWiki
(New page: <command> <title>Fn.Pi</title> <short_description>Returns the constant pi rounded to the current global accuracy.</short_description> <syntax> Fn.Pi():RAT </syntax> <description> <it...)
 
Line 23: Line 23:
 
<see>  Fn.GetAccuracy</see>
 
<see>  Fn.GetAccuracy</see>
 
<key>Fn.Pi</key>
 
<key>Fn.Pi</key>
<key>apcocoa/elemfns.Pi</key>
+
<key>elemfns.Pi</key>
 
<key>Pi</key>
 
<key>Pi</key>
 
<wiki-category>Package_elemfns</wiki-category>
 
<wiki-category>Package_elemfns</wiki-category>
 
</command>
 
</command>

Revision as of 14:15, 4 May 2011

Fn.Pi

Returns the constant pi rounded to the current global accuracy.

Syntax

Fn.Pi():RAT

Description


  • @return Returns the constant pi rounded to the current global accuracy.

Example

Fn.SetAccuracy(10);
Dec(Fn.Pi(), 100);

3.1415926536
-------------------------------

Fn.PiN

Fn.SetAccuracy

Fn.GetAccuracy