# Comparison Equations

Compare with constant and Compare with device measurement both support different types of comparisons.

<figure><img src="https://2494440469-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fggsr9Xlsze5cwVr4WMof%2Fuploads%2FZXmmnAPssrSrL5lT1w9r%2Fimage.png?alt=media&#x26;token=46df1ff7-4499-43b8-8059-597c6d65b206" alt=""><figcaption></figcaption></figure>

* Less Than\
  Rule will be triggered if device measurement is **less than** defined value
* Less Than or Equal\
  Rule will be triggered if device measurement is **less than or equal** defined value
* Equal\
  Rule will be triggered if device measurement is **equal** defined value
* Greater Than or Equal\
  Rule will be triggered if device measurement is **greater than or equal** defined value
* Greater Than\
  Rule will be triggered if device measurement is **greater than** defined value
* Not Equal\
  Rule will be triggered if device measurement is **not equal** defined value
* In Range\
  Rule will be triggered if device measurement is **greater than or equal** to **Min** value **AND** is **less than or equal** to **Max** value
* Out of Range\
  Rule will be triggered if device measurement is **less than or equal** to **Min** value **OR** is **greater than or equal** to **Max** value

{% hint style="danger" %}
**Compare with device measurement** doesn't support **In Range** and **Out Of Range** types
{% endhint %}
