Date: 12/09/00
- Next message: Ron Chmara: "[PHP-DOC] cvs: phpdoc /en/functions image.xml"
- Previous message: Jim Winstead: "[PHP-DOC] Re: sorry, just testing."
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
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
- Next message: Ron Chmara: "[PHP-DOC] cvs: phpdoc /en/functions image.xml"
- Previous message: Jim Winstead: "[PHP-DOC] Re: sorry, just testing."
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

