The SqrN function returns the nth root of the specified value.
|
Syntax | ||||
|
SqrN(Value, Pot) | ||||
|
Return value | ||||
|
Type |
Description | |||
|
Double |
> 0 | |||
|
Parameter | ||||
|
Use |
Name |
Type |
Passing |
Description |
|
Required |
Value |
Double |
ByVal |
Value for determining the nth square root (>0) |
|
Required |
Pot |
Long |
ByVal |
Potency of the root |
Example
Dim Result As Double
Result := SqrN(27, 3)
Result = 3
The third root of 27 was determined. The result is about 3*3*3 = 27