RulePoint
- RulePoint 6.1
- All Products
round(number1,[number2],,,num_digits)
Argument
| Required
Optional
| Description
|
---|---|---|
number1
| Required
| The number that you want to round.
|
number2
| Optional
| The other numbers that you want to round.
|
num_digits
| Required
| The number of digits to which you want to round the number argument.
|
Parameter Input Options
| Datatype
|
---|---|
Event property
| Real number
|
Watchlist values
| Real number
|
when 1 stocktopic s with round(s.stockprice,2) as result = 27.28 then response with body=" ${result}"
Event Property Value
| Description
| Result
|
---|---|---|
s.stockprice=27.2785
| R ounds 27.2785 to 2 decimal points.
| 27.28
|