$floor
From Scriptwiki
Returns N rounded to the next lowest integer.
$floor(N)
- N is the number you want to round down to its next integer.
Examples
$floor($pi) ;will return 3 $floor(-4.99) ;will return -5
Returns N rounded to the next lowest integer.
$floor(N)
$floor($pi) ;will return 3 $floor(-4.99) ;will return -5