$root
$root
will return the root of a given number.
Usage
$root[number;root]
Parameters
Field | Type | Description | Required |
---|---|---|---|
number | number | The number of which you want the root of. | true |
root | number | The root. | true |
Example(s)
This will calculate the root of 7:
1client.command({2 name: "root",3 code: `4 $root[7;2]` // returns: 2.64575131106459075});