Ceil - hpgDesigns/hpgdesigns-dev.io GitHub Wiki

Notation

Description

The ceiling of a number is that number rounded up to the nearest integer.

Parameters

  • x: the value to take the ceiling of

Return Values

The ceiling of x.

Example Call

two = ceil(1.6); //returns 2
negone = ceil(-1.6); //returns -1

NOTOC

Category:Function:Real