AnsweredAssumed Answered

If Condition variable

Question asked by kamal1234 on Apr 26, 2016
Latest reply on Apr 26, 2016 by kamal1234

Dear Community Members.

 

I have a local variable $total in the script which might have a 0 as a value.

I want to check for zero value.

My syntax

If [ $total != "0" ] and If [ $total != 0 ] line is not working

 

I am not be able to move line below after this point. It just automatically removes this line.

Anybody has any idea about it.

 

Thank you,

Kamal.

Outcomes