cvs: phpdoc /en/functions math.xml
| From: | Daniel Beckham | Date: | Tue, 26 Jun 2001 20:46:01 +0000 |
| Subject: | cvs: phpdoc /en/functions math.xml | ||
| Groups: | php.doc | ||
| Request: | Send a blank email to phpdoc+get-969335653@lists.php.net to get a copy of this message | ||
danbeck Tue Jun 26 22:46:01 2001 EDT
Modified files:
/phpdoc/en/functions math.xml
Log:
adding example to pi(), mostly so that they precision is obvious
Index: phpdoc/en/functions/math.xml
diff -u phpdoc/en/functions/math.xml:1.32 phpdoc/en/functions/math.xml:1.33
--- phpdoc/en/functions/math.xml:1.32 Tue Jun 26 22:42:17 2001
+++ phpdoc/en/functions/math.xml Tue Jun 26 22:46:01 2001
@@ -943,6 +943,16 @@
<simpara>
Returns an approximation of pi.
</simpara>
+ <para>
+ <informalexample>
+ <programlisting>
+
+echo pi();
+// echo's 3.1415926535898
+
+ </programlisting>
+ </informalexample>
+ </para>
</refsect1>
</refentry>