Home / Definitions / Relational Operator

An operator that compares two values.

For example, the expression

x

means x is less than 5. This expression will have a value of TRUE if the variablex is less than 5; otherwise the value of the expression will be FALSE.

Relational operators are sometimes called comparison operators. Expressions that contain relational operators are called relational expressions.

Was this Article helpful? Yes No
Thank you for your feedback. 83% 17%