From a6624f2fc5449961f5a2f3c94c2e8d6444181e9e Mon Sep 17 00:00:00 2001 From: jim winstead Date: Sat, 8 Dec 2001 19:33:17 +0000 Subject: [PATCH] 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 --- functions/math.xml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/functions/math.xml b/functions/math.xml index a82eb91859..ddbe045af8 100644 --- a/functions/math.xml +++ b/functions/math.xml @@ -1,5 +1,5 @@ - + Mathematical Functions Math @@ -599,7 +599,7 @@ $binary = base_convert ($hexadecimal, 16, 2); - Returns the next lowest integer value by truncating + Returns the next lowest integer value by rounding down value if neccessary. The return value of floor is still of type float because the value range of float is