[PHP-DOC] cvs: phpdoc /en/functions math.xml From: Daniel Beckham (danbeck <email protected>)
Date: 06/26/01

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>