Php pi
From w3cyberlearnings
Contents |
PHP function pi
This function returns the value of PI.
Syntax pi
pi()
Example 1
<?php echo pi(); echo "<br/>"; echo pi() * 2; ?>
Output
3.1415926535898 6.2831853071796