Easy Tutorial
❮ Php Mail Pdo Commit ❯

PHP pi() Function

PHP Math Reference Manual

Example

Returns the value of PI:


Definition and Usage

The pi() function returns the value of PI.

Note: The constant M_PI and pi() produce the same result.


Syntax

Technical Details

Return Value: 3.1415926535898
Return Type: Float
--- ---
PHP Version: 4+
--- ---
❮ Php Mail Pdo Commit ❯