floor
floor(
@x ## required
) -> llll/null
Rounds down the value of @x to the nearest integer.
Arguments
@x[int/float/llll] Numeric llll.(required)
Output
Floored value of @x [llll/null]
warning
floor is a built-in function in the bell programming language and is not unique or exclusive to bellplay~. As such, floor will return null without raising an error if required arguments are not provided.
Usage
floor(-6.6 -3.3 3.3 6.6) ## -7.0 -4.0 3.0 6.0