# Comparing two variables to see if one is at-least 50 higher than the other

**URL:** <https://discourse.nodered.org/t/comparing-two-variables-to-see-if-one-is-at-least-50-higher-than-the-other/76083>\
**Category:** General\
**Tags:** home-assistant\
**Created:** [3 March 2023 21:52 UTC](https://discourse.nodered.org/t/comparing-two-variables-to-see-if-one-is-at-least-50-higher-than-the-other/76083 "2023-03-03T21:52:08Z")\
**Posts on this page:** 1\
**Showing post:** 5

<div class="post-metadata">

**Author:** ![Paul-Reed](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/paul-reed/32/66906_2.png) [@Paul-Reed](https://discourse.nodered.org/u/Paul-Reed)\
**Post date:** [3 March 2023 22:38 UTC](https://discourse.nodered.org/t/comparing-two-variables-to-see-if-one-is-at-least-50-higher-than-the-other/76083/5 "2023-03-03T22:38:21Z")

</div>

In order to make code readable and usable it is necessary to surround your code with three backticks (also known as a left quote or backquote `````)

````auto
``` 
   code goes here 
```

````

You can edit and correct your post by clicking the pencil ✏ icon.

See this post for more details - [How to share code or flow json](https://discourse.nodered.org/t/how-to-share-code-or-flow-json/506)

---

_[View the full topic](https://discourse.nodered.org/t/comparing-two-variables-to-see-if-one-is-at-least-50-higher-than-the-other/76083)._
