math.ceil(n) returns n rounded up.
math.ceil(n)
n
if n is a number, returns the smallest integer larger than or equal to n.
if n is not a number, returns null.
null
# evaluates to 5 math.ceil(4.1) # evaluates to 0 math.ceil(-0.9)
Last updated 1 month ago
Was this helpful?