Skip to Content

Relational Operators

The priority of the operators is defined from 1 to 9, 9 being the strongest priority.

<, <=, >, >=

  • Description: Comparison operators.

  • Number of parameters: 2

  • Parameter type: numerical, numerical

  • Result type: boolean

  • Priority: 5

==, !=

  • Description: Equality and non-equality operators.

  • Number of parameters: 2

  • Parameter type: the two parameters must be of the same type (or numerical)

  • Result type: boolean

  • Priority: 4