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