Skip to main content

mod

mod(
@x ## required
@y ## required
) -> llll/null

Returns @x modulo @y


Arguments

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

Output

@x modulo @y [llll/null]

warning

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