$abs
$abs returns the absolute value of the number.
Usage
$abs[number]Parameters
| Field | Type | Description | Required |
|---|---|---|---|
| number | number | The number. | true |
Example(s)
This will return the absolute value of -151.5, which is 151.5:
1client.command({2 name: "abs",3 code: `$abs[-151.5]`4});This will return the absolute value of -151.5, which is 151.5:
1module.exports = {2 name: "abs",3 code: `$abs[-151.5]`4};