Skip to main content

ceil

ceil(
@x ## required
) -> llll/null

Returns the rounded up value of @x to the nearest integer.


Arguments

  • @x [int/float/llll] Numeric llll.(required)

Output

Rounded-up value of @x to the nearest integer. [llll/null]

warning

ceil is a built-in function in the bell programming language and is not unique or exclusive to bellplay~. As such, ceil will return null without raising an error if required arguments are not provided.


Usage

ceil(-6.6 -3.3 3.3 6.6) ## -6.0 -3.0 4.0 7.0