RulePoint
- RulePoint 6.1.2
- All Products
sum(number1,[number2],...])
Argument
| Required
Optional
| Description
|
---|---|---|
number
| Required
| The first number argument that you want to add
|
number2
| Optional
| The other number arguments that you want to add.
|
Parameter Input Options
| Datatype
|
---|---|
Event property
| Text
|
Watchlist values
| Text
|
WHEN 2 stock WITH sum(s.price) as result =100 then response with body=”${result}”
Event Property Value
| Description
| Result
|
---|---|---|
s.price[1]=25
s.price[0]=75
| Returns the sum of the two events.
| 100
|