$round
$round
will round to the next whole number.
Usage
$round[number]
Parameters
Field | Type | Description | Required |
---|---|---|---|
number | number | Number to round. | true |
Example(s)
This will return 555
as it’s the next number to 555.78
:
1client.command({2 name: "round",3 code: `4 $round[555.78]5 `6});