$modulo
$modulo
operation / the remainder when dividing.
Usage
$modulo[num;num]
Parameters
Field | Type | Description | Required |
---|---|---|---|
num | number | Numbers to return the remainder of. | true |
Example(s)
This will return 2
as it’s the remainder of 5 % 3
:
1client.command({2 name: "modulo",3 code: `4 $modulo[5;3]5 `6});