User Tools

Site Tools


function:CEIL

The CEIL() function takes a number and returns the first integer that is greater than or equal to the argument:

CEIL(5.5) === CEIL(5.1) === CEIL(6) === 6
CEIL(-5.5) === CEIL(-5.1) === CEIL(-5) === -5

See also FLOOR, TRUNC, and ROUND.

function/CEIL.txt · Last modified: 2015/01/18 03:59 by peternlewis