The largest or smallest value from a list of a number

Get the closest number from a list
If there is no, it gets greater or less than the number that preceded it

I got two results
I want one of them if it’s first, I don’t get the second
English is not good, use a translator

Have you tried this extension [FREE / Open Source] Max/Min Value of List - My First Extension …?


1 Like

Thank you
I need the closest number from my list to the number I have

I have a level 5 plus or minus 5
If I have a number 13 with 5 it becomes 18
The closest number to it from the list is 22 to the top
Down to the nearest 10
If there is no, move to plus 10 or minus 10

I found the solution