floor()
rounds down the given number x to the nearest integer value, thus truncating any decimals
definition
floor ( x: decimal ) : integer
parameters
x | any numeric value |
return
number rounded down to the next integer.
example
floor ( 3.5 )
returns 3