Relational expressions

Relational operators are used to create relational expressions.

Evaluation rules regarding relational expressions are given below.

Assume that A and B are numeric variables or expressions that evaluate to numeric values:

 

A < B    evaluates to true if A is algebraically less than B, and false otherwise.

A > B    evaluates to true if A is algebraically greater than B, and false otherwise.