Skip to content

Inequality operators

Inequality operators are used within conditions in Logical Functions.

They can also be used to set a value according to the result. The value returned is 0.0 if the expression evaluates to false, 1.0 if the expression evaluates to true, or missing value if the answer is undefined due to missing values.

>

Greater than

Expression
[Cost] > 1000
Expression
[Cost] > [Revenue]

>=

Greater than or equal to

Expression
[Cost] >= 1000
Expression
[Cost] >= [Revenue]

<

Less than

Expression
[Cost] < 1000
Expression
[Cost] < [Revenue]

<=

Less than or equal to

Expression
[Cost] <= 1000
Expression
[Cost] <= [Revenue]

=

Equal to

Expression
[Cost] = 1000
Expression
[Cost] = [Revenue]

<>

Not equal to

Expression
[Cost] <> 1000
Expression
[Cost] <> [Revenue]