Skip to main content

mod

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

mod is a built-in function in the bell programming language and is not unique or exclusive to bellplay~.

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 will return null without raising an error if required arguments are not provided.