Sqrt
(Engine-Level Function)
Description: | Returns the square root of a number. |
Returns: | Numeric |
Usage: | Script or steady state. |
Function Groups: | Generic Math |
Related to: | Exp | Ln | Log | Pow |
Format: | Sqrt(X) |
Parameters: |
X |
Required. Any numeric expression giving the number to take the square root of. |
Comments: | If X is less than zero, the result is invalid. |
Example:
rootNum = Sqrt(25);
The variable rootNum will be set to 5.