Skip to main content
insightsoftware Documentation insightsoftware Documentation
{%article.title%}
Published:
Was this article helpful?
0 out of 0 found this helpful

Operators (relational)

Use relational operators to compare two mathematical expressions.

To display data under certain conditions in a Model or Procedure Document, use relation operator functions to specify a condition that must be true. You can use parentheses to change the order in which expressions are compared.

Syntax:

Expression1 OPERATOR Expression2

where:

  • Each Expression is a mathematical combination of symbols, constants, and functions. If you use the EQ or NE functions, Expression can be a character string enclosed in double quotation marks.
  • OPERATOR is a relational operator. Select one of the following:
    Value Description

    EQ or ==

    Equal to.

    GE or >=

    Greater than or equal to.

    GT or >

    Greater than.    

    LE or <=

    Less than or equal to.

    LT or <

    Less than.

    NE or !=

    Not equal to.

Syntax example:

IF NetInc GT 0 AND Debt LT 0.2 "*" NetInc

Published:

Operators (relational)

Use relational operators to compare two mathematical expressions.

To display data under certain conditions in a Model or Procedure Document, use relation operator functions to specify a condition that must be true. You can use parentheses to change the order in which expressions are compared.

Syntax:

Expression1 OPERATOR Expression2

where:

  • Each Expression is a mathematical combination of symbols, constants, and functions. If you use the EQ or NE functions, Expression can be a character string enclosed in double quotation marks.
  • OPERATOR is a relational operator. Select one of the following:
    Value Description

    EQ or ==

    Equal to.

    GE or >=

    Greater than or equal to.

    GT or >

    Greater than.    

    LE or <=

    Less than or equal to.

    LT or <

    Less than.

    NE or !=

    Not equal to.

Syntax example:

IF NetInc GT 0 AND Debt LT 0.2 "*" NetInc

For an optimal Community experience, Please view on Desktop