RulePoint
- RulePoint 6.1.2
- All Products
mround(number1,[number2],..., multiple)
Argument
| Required
Optional
| Description
|
---|---|---|
number1
| Required
| The value to round.
|
number2
| Optional
| Other values you want to round.
|
multiple
| Required
| The multiple to which you want to round the number.
|
Parameter Input Options
| Datatype
|
---|---|
Event property
| Real number
|
Watchlist values
| Real number
|
when 1 stockTopic with mround(s.value ,0.2) as result > 1.4 then response with body=" ${result}"
Event Property Value
| Description
| Result
|
---|---|---|
s.value=1.3
| Rounds 1.3 to a nearest multiple of 0.2.
| 1.4
|