diff --git a/functions/math.xml b/functions/math.xml index b1303b3057..a82eb91859 100644 --- a/functions/math.xml +++ b/functions/math.xml @@ -1,5 +1,5 @@ - + Mathematical Functions Math @@ -599,12 +599,21 @@ $binary = base_convert ($hexadecimal, 16, 2); - Returns the next lowest integer value by rounding down + Returns the next lowest integer value by truncating value if neccessary. The return value of floor is still of type - float as the value range of float is + float because the value range of float is usually bigger than that of int. + + <function>floor</function> examples + + + + See also ceil and round.