RulePoint
- RulePoint 6.1.2
- All Products
mod(number, divisor)
Argument
| Required
Optional
| Description
|
---|---|---|
number
| Required
| The number for which you want to find the remainder.
|
divisor
| Required
| The number by which you want to divide the number.
|
Parameter Input Options
| Datatype
|
---|---|
Event property
| Integer
|
mod(17,3)= 2 when stock s with max(s.value1,3) as result =2 then response with body =”${result}”
Event Property Value
| Description
| Result
|
---|---|---|
s.value1=17
| Returns the remainder after dividing 17 by 3.
| 2
|