{ Frameless }

floor($arg)

The floor($arg) function rounds down to the next lowest integer, and returns the largest integer that is smaller than the numeric argument.

Arguments

ArgumentType
$argnumeric
Return valuenumeric

Examples

floor(3.14)3
floor(-4.2)-5