Sqrt
See Also: Math Functions
Purpose
Sqrt returns the square root of a value.
Return Type
Syntax
(Sqrt({expression}))
Parameters
- {expression}: Can be any data type except string.
What It Does
Sqrt returns the value which, if multiplied by itself, equals the original {expression}.
Number nRoot
Move (Sqrt(9)) To nRoot
In this example, the square root of 9 is moved to the number variable nRoot.
If {expression} is negative, Sqrt will give the same result as though {expression} were positive.
Notes
- Sqrt converts the {expression} parameter to a real value and outputs a real value.