Node book›Maths
Compare
Whether two values are the same, or which is more; the dropdown picks which.
One node on the bench: its dropdown switches between the choices below, keeping the wires that still fit. In a file each choice has its own id.
| Choice | Id | What it does |
|---|---|---|
| = Equals | math/Equals | Whether A and B are the same. |
| ≠ Not equal | math/NotEquals | Whether A and B differ. |
| < Less | math/Less | Whether A is less than B. |
| ≤ Less or equal | math/LessOrEqual | Whether A is at most B. |
| > Greater | math/Greater | Whether A is more than B. |
| ≥ Greater or equal | math/GreaterOrEqual | Whether A is at least B. |
= Equals
Whether A and B are the same. A thing and its address count as the same.
- Does
- A value: worked out when a node wired to it asks
- Runs
- On every machine
- In a file
math/Equals- Drawn
- small, as =
- inaany kind, the same as its other T pins
One.
- inbany kind, the same as its other T pins
The other.
- outresultyes or no
Yes when the same.
≠ Not equal
Whether A and B differ.
- Does
- A value: worked out when a node wired to it asks
- Runs
- On every machine
- In a file
math/NotEquals- Drawn
- small, as ≠
- inaany kind, the same as its other T pins
One.
- inbany kind, the same as its other T pins
The other.
- outresultyes or no
Yes when they differ.
< Less
Whether A is less than B. Texts: whether A comes first in the alphabet.
- Does
- A value: worked out when a node wired to it asks
- Runs
- On every machine
- In a file
math/Less- Drawn
- small, as <
- inaany kind, the same as its other T pins
One.
- inbany kind, the same as its other T pins
The other.
- outresultyes or no
Yes when A is less.
≤ Less or equal
Whether A is at most B.
- Does
- A value: worked out when a node wired to it asks
- Runs
- On every machine
- In a file
math/LessOrEqual- Drawn
- small, as ≤
- inaany kind, the same as its other T pins
One.
- inbany kind, the same as its other T pins
The other.
- outresultyes or no
Yes when A is at most B.
> Greater
Whether A is more than B.
- Does
- A value: worked out when a node wired to it asks
- Runs
- On every machine
- In a file
math/Greater- Drawn
- small, as >
- inaany kind, the same as its other T pins
One.
- inbany kind, the same as its other T pins
The other.
- outresultyes or no
Yes when A is more.
≥ Greater or equal
Whether A is at least B.
- Does
- A value: worked out when a node wired to it asks
- Runs
- On every machine
- In a file
math/GreaterOrEqual- Drawn
- small, as ≥
- inaany kind, the same as its other T pins
One.
- inbany kind, the same as its other T pins
The other.
- outresultyes or no
Yes when A is at least B.
Modding