note 17137 modified in function.pi by zak
| From: | zak@php.net | Date: | Tue, 27 Nov 2001 19:34:32 +0000 |
| Subject: | note 17137 modified in function.pi by zak | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-21344@lists.php.net to get a copy of this message | ||
You can also use the M_PI constant.
<?php
echo M_PI;
?>
Output:
3.1415926535898
--was--
there are too an CONSTANT
<?php
echo M_PI;
?>
Output:
3.1415926535898
http://www.php.net/manual/en/function.pi.php