$roundDown
Rounds the number down to the nearest whole number.

FUNCTION USAGE

  • $roundDown[number]

Properties:

number - The number the function will be rounding down.

Example 1: Rounds the number down to 6

1
bot.Command({
2
name: "test",
3
code: `
4
$round[6.1]
5
`
6
})
Copied!

Example 2: Rounds the number down to 6

1
bot.Command({
2
name: "test",
3
code: `
4
$round[6.9]
5
`
6
})
Copied!
Last modified 4mo ago
Copy link
Contents
Properties: