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 ( https://www.grasshopper3d.com/forum/topics/replace-members-unexpected-result )
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:

1 Like