Replace members not working

hello folks

I have a list including the numbers 0, 1, 2 and I want to cull out the 2’s, my logic was to use the replace members with a boolean 0=true, 1=true, 2=false, and then cull them out but I am stuck with the basics

I used Hyungsoo Kim’s file as reference ( replace members unexpected result - Grasshopper )
In the top is my script not working and below is the example working just fine, what am I missing?

t2.7 forum.gh (10.7 KB)

okay I just found the problem, It had something to do with numbers being “floating point numbers” instead of integers :man_shrugging:

3 Likes

In my opinion, we need to keep the S and F input with same type of data. Looking at your example, S was linked with floating number, however F with panel.