Skip to content

$round

$round will round to the next whole number.

Usage

$round[number]

Parameters

FieldTypeDescriptionRequired
numbernumberNumber to round.true

Example(s)

This will return 555 as it’s the next number to 555.78:

1
client.command({
2
name: "round",
3
code: `
4
$round[555.78]
5
`
6
});