Unexpected division results in arithmetic combinator
Posted: Fri Oct 25, 2024 10:41 pm
When using an
1. arithemtic combinator with division,
2. each item as an input and
3. divide the input by a value,
it seems that each single input value is divided first and the the intermediate results are summed up. I would expect that for this kind of setup first the sum of all inputs is made and then the division is executed.
See the example of the screenshot:
Expected result and calculation
(51+51+49+48+48) / 5= 49,4 -> 49 or 50, depends on rounding rules
Observed result (and assumed calculation)
51/5 + 51/5 + 49/5 + 48/5 + 48/5 = 47
1. arithemtic combinator with division,
2. each item as an input and
3. divide the input by a value,
it seems that each single input value is divided first and the the intermediate results are summed up. I would expect that for this kind of setup first the sum of all inputs is made and then the division is executed.
See the example of the screenshot:
Expected result and calculation
(51+51+49+48+48) / 5= 49,4 -> 49 or 50, depends on rounding rules
Observed result (and assumed calculation)
51/5 + 51/5 + 49/5 + 48/5 + 48/5 = 47