[PHP-DOC] cvs: phpdoc /en/functions math.xml From: Ron Chmara (ron <email protected>)
Date: 12/09/00

ronabop Sat Dec 9 19:31:50 2000 EDT

  Modified files:
    /phpdoc/en/functions math.xml
  Log:
  added example to ciel()
  
Index: phpdoc/en/functions/math.xml
diff -u phpdoc/en/functions/math.xml:1.20 phpdoc/en/functions/math.xml:1.21
--- phpdoc/en/functions/math.xml:1.20 Sun Nov 26 17:25:24 2000
+++ phpdoc/en/functions/math.xml Sat Dec 9 19:31:50 2000
@@ -318,11 +318,17 @@
       <paramdef>float <parameter>number</parameter></paramdef>
      </funcprototype>
     </funcsynopsis>
- <simpara>
+ <para>
      Returns the next highest integer value from
      <parameter>number</parameter>. Using <function>ceil</function>
      on integers is absolutely a waste of time.
- </simpara>
+ <informalexample>
+ <programlisting role="php">
+$x = ceil(4.25);
+// which would make $x=5
+ </programlisting>
+ </informalexample>
+ </para>
     <simpara>
      NOTE: PHP/FI 2's <function>ceil</function> returned a
      float. Use: <literal>$new = (double)ceil($number);</literal> to