I have a parameter with some input and i want to divide it by 2 if the result is zero i have to go into the if condition but if i use the arithmetic opertaion there it gives an error then how do i use it.
Arithmetic operation in if condition i.e
parameter var1 type i.
if var1 / 2 = 0.
This gives a error how do i use it. Kindly share your views so I can proceed further.
Thanks in advance.