|
From: | fatiparty |
Subject: | Checking if variable is not zero with (()) |
Date: | Wed, 1 Dec 2021 12:44:06 +0100 (CET) |
I have been using integer comparisons with standard approach (( n == 0 )) But this time I want to check if the variable is not zero. But some people have insisted that != is only for strings. Is this correct? How is this integer comparison customarily approached?
[Prev in Thread] | Current Thread | [Next in Thread] |