Mod
Calculates the remainder of division between op1 and op2 and places the value in the property identified by the result attribute.
Required Attributes
op1
first operand of the arithmetic operation.
op2
second operand of the arithmetic operation.
result
property name of where to store the result of the arithmetic operation.
Usage Examples
Example #1
<mod op1="${prop1}" op2="10000" result="result" />
Example #2
<mod op1="${a}" op2="2" result="odd" />