$ceil

From Scriptwiki
Revision as of 13:55, 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 highest integer.

$ceil(N)
  • N is the number you want the next highest decimal of.

Examples

$ceil($pi) - will return 4
$ceil(-4,99) - will return -4

See Also

$round, $floor and $int.