RulePoint
- RulePoint 6.1.2
- All Products
abs(number,[number2],…)
Argument
| Required
Optional
| Description
|
---|---|---|
number
| Required
| The real number for which you want the absolute value.
|
number2, ...
| Optional
| The real numbers for which you want the absolute value.
|
Parameter Input Options
| Datatype
|
---|---|
Event property
| Real number
|
Watchlist values
| Real number
|
when 1 stockTopic s with abs(s.value) as result=10.12 then response with body=”${result}”
Event Property Value
| Description
| Result
|
---|---|---|
s.value = 10.12 or -10.12
| Returns the absolute value.
| 10.12
|