Hi Anjineyulu,
that would become something like:
if $Variable A != 0 and $variable B != 0
then ($Variable A div $variable B)*100
else 0
As you know, it’s impossible to divide by 0, so to account for this you can do something like this…
if ($VariableB != 0) then
($VariableA div $VariableB)*100
else
0
In this example I return 0 if $VariableB is zero, but you will need to work out what your answer should be in this case.
I hope this helps.