floor: duh, it does round down, not truncate. stupid negative numbers. :)

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@64285 c90b9560-bf6c-de11-be94-00142212c4b1
This commit is contained in:
jim winstead 2001-12-08 19:33:17 +00:00
parent 7e04f85418
commit a6624f2fc5

View file

@ -1,5 +1,5 @@
<?xml version="1.0" encoding="iso-8859-1"?>
<!-- $Revision: 1.60 $ -->
<!-- $Revision: 1.61 $ -->
<reference id="ref.math">
<title>Mathematical Functions</title>
<titleabbrev>Math</titleabbrev>
@ -599,7 +599,7 @@ $binary = base_convert ($hexadecimal, 16, 2);
</funcprototype>
</funcsynopsis>
<simpara>
Returns the next lowest integer value by truncating
Returns the next lowest integer value by rounding down
<parameter>value</parameter> if neccessary.
The return value of <function>floor</function> is still of type
<type>float</type> because the value range of <type>float</type> is