irc-html Wed Jan 9 18:43:27 2002 EDT Modified files: /phpdoc/en/functions math.xml Log: added example for ceil() Index: phpdoc/en/functions/math.xml diff -u phpdoc/en/functions/math.xml:1.64 phpdoc/en/functions/math.xml:1.65 --- phpdoc/en/functions/math.xml:1.64 Tue Jan 1 19:44:14 2002 +++ phpdoc/en/functions/math.xml Wed Jan 9 18:43:26 2002 @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.64 $ --> +<!-- $Revision: 1.65 $ --> <reference id="ref.math"> <title>Mathematical Functions</title> <titleabbrev>Math</titleabbrev> @@ -413,6 +413,15 @@ <type>float</type> as the value range of <type>float</type> is usually bigger than that of <type>int</type>. </simpara> + <example> + <title><function>ceil</function> examples</title> + <programlisting role="php"> +<![CDATA[ +$five = ceil(4.3); // $five = 5.0; +$ten = ceil(9.999); // $ten = 10.0; +]]> + </programlisting> + </example> <simpara> See also <function>floor</function> and <function>round</function>.
- [PHP-DOC] cvs: phpdoc /en/functions math.xml Jani Taskinen
- [PHP-DOC] cvs: phpdoc /en/functions math.xml Jeroen van Wolffelaar
- [PHP-DOC] cvs: phpdoc /en/functions math.xml Jeroen van Wolffelaar
- [PHP-DOC] cvs: phpdoc /en/functions math.xml Stig Bakken
- [PHP-DOC] cvs: phpdoc /en/functions math.xml Gabor Hojtsy
- [PHP-DOC] cvs: phpdoc /en/functions math.xml Simone Cortesi
- [PHP-DOC] cvs: phpdoc /en/functions math.xml jim winstead
- [PHP-DOC] cvs: phpdoc /en/functions math.xml jim winstead
- [PHP-DOC] cvs: phpdoc /en/functions math.xml Hartmut Holzgraefe
- [PHP-DOC] cvs: phpdoc /en/functions math.xml jim winstead
- [PHP-DOC] cvs: phpdoc /en/functions math.xml Kenneth Schwartz
- [PHP-DOC] cvs: phpdoc /en/functions math.xml Kenneth Schwartz
- [PHP-DOC] cvs: phpdoc /en/functions math.xml Jan Lehnardt
- [PHP-DOC] cvs: phpdoc /en/functions math.xml Philip Olson
- [PHP-DOC] cvs: phpdoc /en/functions math.xml Wolfgang Drews
- [PHP-DOC] cvs: phpdoc /en/functions math.xml Slawomir Pucia
- [PHP-DOC] cvs: phpdoc /en/functions math.xml Hartmut Holzgraefe
- [PHP-DOC] cvs: phpdoc /en/functions math.xml Hartmut Holzgraefe
- [PHP-DOC] cvs: phpdoc /en/functions math.xml Simone Cortesi
- [PHP-DOC] cvs: phpdoc /en/functions math.xml Simone Cortesi
- [PHP-DOC] cvs: phpdoc /en/functions math.xml Philip Olson