Division zero

Hello,
can someone help me please?
Kind regards, Michael

Hi,

the problem with expressions is this.

Here you have a possible solution if your numbers are always integers.


Expression.gh (4.7 KB)

Otherwise, a python script may be better solution.