GH component for a custom comfort range

Hallo dear community,

I would need to know if exist a GH component, which would give me a “custom text answer” if a certain value/result is greater or less than a predefined limit.

For example, if my limit is 50% and I have a result of 60% then I have a YES (or another custom text), if the result would be 45% then it would be a (or another custom text).

Thank you in advance
John R.


Expression.gh (3.5 KB)

4 Likes

Wonderful @Mahdiyar

Thank you for your help and your time.

One last tip, would it also work with 2 variable/indicees, like the picture?

Greetings,
John-R


You Can use the gate operators from Math Tabs to check those.
just Make sure to Convert Yes>>True & No>>False.

1 Like