general /
real/2 or float/2—convert a numeric value to a real value - Documentation for BMC TrueSight Infrastructure Management 10.5
The real/2 or float/2 primitive converts a numeric value to a real value.
$REALVAL=real($NUMBER)
$REALVAL=float($NUMBER)real/2 or float/2 arguments
Argument | Mode | Type | Description |
|---|---|---|---|
| Input | INTEGER|REAL | Specifies the numeric (integer or real) value to be converted to a real (floating point) value |
| Output | REAL | The conversion result, returned as a real (floating point) value |
Use real/2 or float/2 to convert a numeric value to a real (floating point) value returned in $REALVAL.
real/2 or float/2 example
$DEV = ( $AVERAGE_DURATION - real($E.duration) ) ^ 2;