.ceiling()

Description

Ceiling returns its input value rounded up to the nearest int.

Parameters

Ceiling takes no parameters

Usage On Numbers

num = 1.2

log num.ceiling()
// returns 2

Last updated