The math node performs arithmetic on two values. It shares the same shape as the compare node: two inputs, an operator dropdown, and a single output. The difference is that Math produces a number instead of a true/false result.
Like compare, the math node has no triangle connectors. It only computes a value. Wire its output circle into any field that accepts a number: a function parameter, a transfer amount, a variable assignment, or even another math node.
The math node has an Unchecked toggle. When enabled, Solidity skips its built-in overflow and underflow protection. This saves a small amount of gas but means results can silently wrap around if they exceed the type’s range. Leave this off unless you’re sure the values can’t overflow.
The AND, OR, and NOT nodes follow the same data-only pattern as math and compare: two inputs (or one for NOT), no triangle connectors, and a single output circle. See the Control Flow page for details.