You are viewing tutorials for Composr CMS version 11. Click here for version 10 tutorials.
We apologize for the instability of composr.app and appreciate your patience. We are working on the statistics addon and trying to find an optimal way to store and render data. Unfortunately, we have yet to find a solution that can handle the traffic (and therefore, tens of millions of statistical records) of composr.app. We're working hard on one.
Function __global->pi
Definitions
sources_custom/phpstub.php
Get value of PI.
Visibility: public
Is abstract?: No
Is static?: No
Is final?: No
Returns: float
Returns
PI
Type: float
Set: N/A
Range: N/A
Preview
Code (PHP)
/**
* Get value of PI.
*
* @return float PI
*/ functionpi(): float