$truncate
$truncate will remove all values after a decimal point.
Usage
$truncate[number]Parameters
| Field | Type | Description | Required |
|---|---|---|---|
| number | number | Number to truncate. | true |
Example(s)
This will return 775 and remove .9723 from the given value:
1client.command({2 name: "truncate",3 code: `4 $truncate[775.9723]5 `6});