I’d like to have a calculated variable to be capped at either 0 or 1 depending if the result is less or more than that - if in between it should return the calculated value. I’d like to avoid using multiple ‘Variable greater than 1’ or ‘Variable less than 0’ cards, is there any BLL expression / math.js function I could put into my existing card?
Istvan_Szalai
470
Related topics
| Topic | Replies | Views | Activity | |
|---|---|---|---|---|
| [APP][Pro] Better Logic Library - For developers | 35 | 2166 | December 30, 2024 | |
| [APP][Pro] Better Logic Library - For Users | 256 | 13334 | April 23, 2026 | |
| Simple LOG app - Former main topic [Deprecated] | 233 | 10849 | March 12, 2023 | |
| Getting Started - Logic variables | 82 | 35760 | April 26, 2024 | |
| BetterLogic Variablen vs. Variablen--> Spiegeln? | 6 | 73 | January 15, 2026 |