Round up value.
Rounds upward, returning the smallest integral value that is not less than x.
The ceil[] function is a function that returns the smallest integer greater than or equal to a given number. It rounds the number up to the nearest integer. The input can be a number of any type that can be converted to a float, and the output will be an integer.
For example, ceil[3.14159] would return 4, and ceil[-2.5] would return -2.
It is commonly used in mathematical calculations and in situations where you want to round a number up to the nearest integer, such as when working with money or array indexing.
floor[x]
#<result> = ceil[2.3] (print,#<result>)
result: 3