Not Equals Number
Tests whether two numbers are different.
Node id logic/not-equals-number
The Not Equals Number node outputs true if a and b are different
numbers, and false if they are the same.
Inputs
| Name | Type | Default | Notes |
|---|---|---|---|
| a | number | 0 | |
| b | number | 0 |
Outputs
| Name | Type | Notes |
|---|---|---|
| result | boolean |
Behaviour
- Defaults. Both inputs default to 0.
- Exact. Numbers that differ by a tiny amount count as different: 0.1 + 0.2 is not equal to 0.3 (see Equals Number).
- NaN differs from everything, even from NaN: the result is then true.
Related nodes
- Equals Number: the opposite test.