# Logical expressions with numbers not possible?

**URL:** <https://community.triggre.com/t/logical-expressions-with-numbers-not-possible/448>\
**Category:** Support\
**Created:** [August 18, 2023, 10:06am UTC](https://community.triggre.com/t/logical-expressions-with-numbers-not-possible/448 "2023-08-18T10:06:10Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![stanley.dikeocha](https://avatars.discourse-cdn.com/v4/letter/s/f4b2a3/32.png) [@stanley.dikeocha](https://community.triggre.com/u/stanley.dikeocha)\
**Post date:** [August 18, 2023, 10:06am UTC](https://community.triggre.com/t/logical-expressions-with-numbers-not-possible/448/1 "2023-08-18T10:06:10Z")

</div>

Hello,

I want to create an expression that checks if a number is in between two range of numbers (e.g. is the cost of the time in between 50,000 and 100,000).

However, it seems like Triggre doesn’t allow the use of logical expressions if I am using an integer field ?

Any ideas?

---

<div class="post-metadata">

**Author:** ![Jesse](https://yyz1.discourse-cdn.com/flex035/user_avatar/community.triggre.com/jesse/32/88_2.png) [@Jesse](https://community.triggre.com/u/Jesse)\
**Post date:** [August 18, 2023, 11:16am UTC](https://community.triggre.com/t/logical-expressions-with-numbers-not-possible/448/2 "2023-08-18T11:16:43Z")

</div>

Hi @stanley.dikeocha,

You can use several ways to achieve this:

1. Using a decision. If you make a decision and in the rule of the decision place the number you want (e.g. _Cost_), you can specify ranges as outgoing paths.

2. Using a calculation. You should use the following structure:

_Cost_ **\>=** _Minimum_ **AND** _Cost_ **\<=** _Maximum_

This should do the trick. It doesn’t matter whether you have a number with or without decimals.
