/
What exactly is the Calculation Algorithm?
What exactly is the Calculation Algorithm?
The Calculated Algorithm allows you to calculate a value based on the values that have been saved within the item.
A technical implementation can be very complex if you enable brackets in the algorithm.
For example,
((2 * (a + b)) + 5) / 3
is readable. However, it can be difficult to process.
This representation (in reverse Polish notation or postfix), on the other handa b + 2 * 5 + 3 /
can be processed relatively easily and is also readable for an experienced person.
A Calculation Algorithm consists of:
a single-line expression which can contain these operators. Operators for Calculated Fields
or a multi-line structure which is described here. Structure Elements for Calculated Fields