Skip to main content

int

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

Casts value of @x as an int.


Arguments

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

Output

llll casted as integer [llll/null]

warning

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