# Bit Strip from Int

**URL:** <https://discourse.nodered.org/t/bit-strip-from-int/67221>\
**Category:** General\
**Created:** [1 September 2022 16:23 UTC](https://discourse.nodered.org/t/bit-strip-from-int/67221 "2022-09-01T16:23:07Z")\
**Posts on this page:** 1\
**Showing post:** 6

<div class="post-metadata">

**Author:** ![HansZnarf](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/hansznarf/32/70215_2.png) [@HansZnarf](https://discourse.nodered.org/u/HansZnarf)\
**Post date:** [1 September 2022 19:21 UTC](https://discourse.nodered.org/t/bit-strip-from-int/67221/6 "2022-09-01T19:21:31Z")

</div>

Understand it is not java script. More of what I have worked with before to show and example of logical data flow. Need a 1 output when it = 1, 2, 4 or 8 and a 0 when it does not. That should create and exclusive condition for each number.

---

_[View the full topic](https://discourse.nodered.org/t/bit-strip-from-int/67221)._
