Table of Contents
    Home / Definitions / Relational Operator
    Development 1 min read

    An operator that compares two values.

    For example, the expression


    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.