Sqrt
Takes the square root of numValue.
Function | Group | Execution | Windows | Embedded | Thin Client | Mobile Access |
---|---|---|---|---|---|---|
Sqrt | Arithmetic | Synchronous | Supported | Supported | Supported | Supported |
Syntax
Sqrt( numValue )
- numValue
- Integer or Real tag to be square rooted.
Returned value
Returns the square root of the value in the numValue tag.
Note: If numValue has a negative value, then this function returns the value 0 and sets the quality of the returned tag to BAD.
Examples
Tag Name | Expression |
---|---|
Tag | SQRT( 25 ) // Returns the value 5 |
Tag | SQRT( 67 ) // Returns the value 8.185353 |