pi

(PHP 3, PHP 4 >= 4.0.0)

pi -- Get value of pi

Description

float pi (void)

Returns an approximation of pi.


echo pi();
// will echo 3.1415926535898