Ceiling

Syntax


y = ceil(x)

Description


Returns smallest (most negative) integer value that is greater than or equal to the passed argument, which may be an expression.

Example


y = ceil(5*sin(t))