Relational Operators
Operator precedence ranges from 1 to 9, with 9 evaluated first.
<, <=, >, >=
-
Description:
<and>test strict inequalities.<=and>=also accept equality. -
Number of parameters: 2
-
Parameter type: numerical, numerical
-
Result type: boolean
-
Priority: 5
==, !=
-
Description:
==tests equality.!=tests inequality. -
Number of parameters: 2
-
Parameter type: the two parameters must be of the same type (or numerical)
-
Result type: boolean
-
Priority: 4