Relational Operators

These operators are used to form an expression that is evaluated as 0 if it is
false
and 1 if it is
true
.
<
less than
<=
less than or equal to
=
equal to
<>
not equal to
>=
greater than or equal to
>
greater than
For example, if A is a variable in your dataset, and you create a new variable such that:
New = $if(!A! < 123.0, 1.0, 0.0)
then the value of New will be 1 in any data row in which A is less than 123, and New will be 0 in all other data rows.
Provide Feedback
Have questions or feedback about this documentation? Please submit your feedback here.