7.3 Comparison (operators)

Comparison operators are used to compare 2 values to one another

  • >: greater than
  • >=: greater than or equal to
  • <: less than
  • <=: less than or equal to
  • !=: not equal
  • ==: used to compare if two things are equal

Be careful when trying to compare things that are calculations that lead to a decimal value.

If two things you expect to be equal are not showing up as being TRUE and the values you are comparing are decimal values, you should use the near function instead.