PHP pi() Function
Definition and Usage
The pi() function returns the value of PI.
Tip: The named constant M_PI is identical to pi().
Syntax
pi();
Technical Details
Return Value: | 3.1415926535898 |
---|---|
Return Type: | Float |
PHP Version: | 4+ |

The pi() function returns the value of PI.
Tip: The named constant M_PI is identical to pi().
pi();
Return Value: | 3.1415926535898 |
---|---|
Return Type: | Float |
PHP Version: | 4+ |
Your message has been sent to W3Schools.