root()

Determines the nth-root of a number.

This function is valid in v2.5.0 to v2.24.3. This function has been downloaded 60 times.

Parameters

{number} number
Number to be rooted.
{number} n
The degree to which number should be rooted (eg. 3 for cube root).

Returns

{number}
number to the nth-root.