If statement with half numbers, wrong total

Hi, i have a problem with the if statement. There is the wrong total at the end.
if statment with half numbers wrong total.gh (5.9 KB)

Can’t really tell what’s going on with your data because of missing plugins, but your if statement seems fine:

that´s my problem:


yes, weird

I think the problem is that you’re using integer instead of number, thus rounding 1.47 down to 1… no?

1 Like

No, i need 1,5 that´s my problem :tired_face:

just switch that 7 for 0.1 :wink:
(->number, not integer)

1 Like

oh noooo, thank you, too easy :rofl: