PHP pi () function
Definition and Usage
pi () function returns the value of pi PI.
Tip: M_PI and named constant pi () produces the same result.
grammar
pi();
technical details
return value: | 3.1415926535898 |
---|---|
Return type: | Float |
PHP version: | 4+ |
PHP Math Reference