$divide

Divides the provided numbers.

Usage

$divide[numbers;...]

This function has one field.

FieldDescriptionTypeRequired

numbers

The numbers to divide.

Number

Yes

Examples

Example #1

bot.commands.add({
    type: "basicCommand",
    name: "example",
    code: `$divide[10;5]` //Returns 2
})

Example #2

bot.commands.add({
    type: "basicCommand",
    name: "example",
    code: `$divide[25;5]` //Returns 5
})

Example #3

bot.commands.add({
    type: "basicCommand",
    name: "example",
    code: `$divide[150;10]` //Returns 15
})

Last updated