Divide
Divide op1 by op2 and store the result in the property
identified by the attribute result. Dividing by zero will
generate an ArithmeticException that can easily be caught in
your DTF test using the
try and $
catch
tags.
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
<divide op1="100" op2="${proerty1}" result="result" />
Example #2
<divide op1="${a}" op2="1000" result="a" />