
The Function Block NE is true if both inputs are not equal.
Tip: To check whether a value is unequal to NULL, use a negated Function Block IS_NULL.
The inputs can contain any data type.
The output is true if both inputs are not identical.
Note: Note that the data types are not considered. For example, the boolean value TRUE is equal to the number 1 and equal to the string "1".
| First Input | Second Input | Output |
|---|---|---|
| 0 | "a" | FALSE |
| "1" | "01" | FALSE |
| "10" | "1e1" | FALSE |
| 100 | "1e2" | FALSE |
| 1.0 | 1 | FALSE |
| NULL | FALSE | FALSE |