For anyone wondering, the highest precision you can get for pi() or M_PI is 20 places after the decimal point, or 3.14159265358979323846.
![]() |
|
||||||||||
|
piОписаниеfloat pi ( void )Возвращает число Пи с точностью, определяемой директивой precision в php.ini, значение по умолчанию которой 14. Константа M_PI даёт идентичный результат.
pi
Keamos at gmail
13-Jan-2006 09:31
For anyone wondering, the highest precision you can get for pi() or M_PI is 20 places after the decimal point, or 3.14159265358979323846.
davidduke at hotmail dot com
27-Mar-2004 06:18
Pi is often usefull in con/sin/tan functions.. |