$floor

From Scriptwiki
Revision as of 12:51, 5 September 2005 by Doomie (talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Returns N rounded to the next lowest integer.

$floor(N)
  • N is the number you want the next lowest integer of.

Examples

$floor($pi) - will return 3
$floor(-4,99) - will return -5

See Also

$round, $ceil and $int.