note 13756 added to function.pi.php
| From: | matt at iwdt dot net | Date: | Mon, 02 Jul 2001 01:27:10 +0000 |
| Subject: | note 13756 added to function.pi.php | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-14846@lists.php.net to get a copy of this message | ||
i think a better usage of pi would be
pi(int precision);
where precision would be the number of digits after the decimal, with a max of about 100 or
something like that.
in case you don't understand what i mean,
print pi(4);
would print out 3.1415
..just a suggestion
http://www.php.net/manual/en/function.pi.php