I have a sorted list, and from this list I need to know and extract the index number from the item which first approaches a given value, in this case is 125, i.e. index no. 172 from this list.
I will always have lists in which the value “125” will be positioned in another index, for this, I would need to extrapolate it automatically and not manually.
Could someone point me in the right direction?
Thanks in advance
thanks for the help, but I have a problem, I think is the Expression by your A-imput into the _smaller component. Wich expression have you used? RetrieveTheValue.gh (15.7 KB)