sqrt/2—determine the square root of a numeric value - Documentation for BMC TrueSight Infrastructure Management 11.3
The sqrt/2 function determines the square root of a numeric value.
$RESULT=sqrt($NUMBER)sqrt/2 arguments
Argument | Mode | Type | Description |
|---|---|---|---|
| Input | INTEGER|REAL | Specifies the numeric (integer or real) value for which the square root is to be returned |
| Output | REAL | Returns the square root of the number |
The sqrt/2 function returns the square root value of the numeric value specified by the $NUMBER argument as $RESULT.
sqrt/2 example
$SQRT = sqrt( ( $AVERAGE_DURATION - real($E.duration) ) ^ 2 );