For Programmers: Free Programming Magazines  


Home > Archive > PHP Documentation > October 2006 > cvs: phpdoc /en/reference/math/functions ceil.xml floor.xml









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author cvs: phpdoc /en/reference/math/functions ceil.xml floor.xml
Etienne Kneuss

2006-10-15, 7:01 pm

colder Sun Oct 15 23:24:12 2006 UTC

Modified files:
/phpdoc/en/reference/math/functions floor.xml ceil.xml
Log:
An example with negative input may clarify things a bit

http://cvs.php.net/viewvc.cgi/phpdo...6&diff_format=u
Index: phpdoc/en/reference/math/functions/floor.xml
diff -u phpdoc/en/reference/math/functions/floor.xml:1.5 phpdoc/en/reference/math/functions/floor.xml:1.6
--- phpdoc/en/reference/math/functions/floor.xml:1.5 Mon Jun 16 18:31:33 2003
+++ phpdoc/en/reference/math/functions/floor.xml Sun Oct 15 23:24:12 2006
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.5 $ -->
+<!-- $Revision: 1.6 $ -->
<!-- splitted from ./en/functions/math.xml, last change in rev 1.2 -->
<refentry id="function.floor">
<refnamediv>
@@ -27,6 +27,7 @@
<?php
echo floor(4.3); // 4
echo floor(9.999); // 9
+echo floor(-3.14); // -4
?>
]]>
</programlisting>
http://cvs.php.net/viewvc.cgi/phpdo...6&diff_format=u
Index: phpdoc/en/reference/math/functions/ceil.xml
diff -u phpdoc/en/reference/math/functions/ceil.xml:1.5 phpdoc/en/reference/math/functions/ceil.xml:1.6
--- phpdoc/en/reference/math/functions/ceil.xml:1.5 Mon Jun 16 18:31:33 2003
+++ phpdoc/en/reference/math/functions/ceil.xml Sun Oct 15 23:24:12 2006
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.5 $ -->
+<!-- $Revision: 1.6 $ -->
<!-- splitted from ./en/functions/math.xml, last change in rev 1.2 -->
<refentry id="function.ceil">
<refnamediv>
@@ -27,6 +27,7 @@
<?php
echo ceil(4.3); // 5
echo ceil(9.999); // 10
+echo ceil(-3.14); // -3
?>
]]>
</programlisting>
Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com