Open fergcb opened 4 months ago
The formula parser and compiler should be enhanced to include support for binary operator expressions, e.g. 5 * 2 or "Hello" + " " + "World".
5 * 2
"Hello" + " " + "World"
We should support at least the following operators, with the ability add more if needed:
+
-
*
/
%
&&
\|\|
¹ - 0, "", null and false should be considered falsy for logical operations.
0
""
null
false
Here are some optional ways to improve this feature:
5 + 10 * 2
5 + 20
15 * 2
If these optional features are not added, new issues should be created to deal with them in the future.
The formula parser and compiler should be enhanced to include support for binary operator expressions, e.g.
5 * 2
or"Hello" + " " + "World"
.We should support at least the following operators, with the ability add more if needed:
+
-
*
/
%
&&
\|\|
¹ -
0
,""
,null
andfalse
should be considered falsy for logical operations.Nice to Have
Here are some optional ways to improve this feature:
5 + 10 * 2
is5 + 20
, not15 * 2
)If these optional features are not added, new issues should be created to deal with them in the future.