PHP: pi() function
Description
The pi() function is used to get the value of PI.
Version:
(PHP 4 and above)
Syntax:
pi()
Return value:
The value of pi.
Value Type: Float.
Pictorial Presentation
Example:
<?php
echo pi()
?>
Output:
3.1415926535898
View the example in the browser
See also
It will be nice if you may share this link in any developer community or anywhere else, from where other developers may find this content. Thanks.
https://w3resource.com/php/function-reference/pi.php
- Weekly Trends and Language Statistics
- Weekly Trends and Language Statistics