ceil

From ENIGMA

Jump to: navigation, search


Notation

ceil(x)

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
Personal tools