Greater

Tests whether one number is greater than another.

Node id logic/greater

The Greater node outputs true if a is greater than b (a > b), and false otherwise: 3 > 2 is true, 2 > 2 is false.

Inputs

NameTypeDefaultNotes
anumber0
bnumber0

Outputs

NameTypeNotes
resultboolean

Behaviour

  • Defaults. Both inputs default to 0.
  • NaN. If either input is NaN, the result is false.
  • Precision. Numbers computed in different ways may differ by a tiny amount (0.1 + 0.2 is 0.30000000000000004), which matters when a and b are meant to be equal.
  • Greater or Equals: also true when the numbers are equal.
  • Lower: the reverse comparison.
  • Max: the larger of the numbers itself.
  • Not: inverts the result.
© 2026 Wirepaint