ceiling

Rounds a number up to the next integer.

Function

result = ceiling(input)

Arguments

ArgumentData Type
inputnumeric
resultint

Comments

Rounds up to the next integer. Positive numbers are rounded up. Negative numbers are rounded towards zero.

Examples

result = ceiling(100.75)
/* result = 101 */