mirror of
https://github.com/sigmasternchen/php-doc-en
synced 2025-03-16 00:48:54 +00:00
adding example to pi(), mostly so that they precision is obvious
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@50236 c90b9560-bf6c-de11-be94-00142212c4b1
This commit is contained in:
parent
40f6a21d33
commit
82f713c238
1 changed files with 10 additions and 0 deletions
|
@ -943,6 +943,16 @@ $randval = mt_rand();
|
|||
<simpara>
|
||||
Returns an approximation of pi.
|
||||
</simpara>
|
||||
<para>
|
||||
<informalexample>
|
||||
<programlisting>
|
||||
|
||||
echo pi();
|
||||
// echo's 3.1415926535898
|
||||
|
||||
</programlisting>
|
||||
</informalexample>
|
||||
</para>
|
||||
</refsect1>
|
||||
</refentry>
|
||||
|
||||
|
|
Loading…
Reference in a new issue