Basically, let's assume I have a table and a number to compare it with.
local Table = {1,2,5,8,20}
local Number = 4
How do I compare the table with the number, to return the value in the table closest to the number I first provided? (In this case, it would return 5.)
Disregard the fact that if I would enter 3, for example, it would try to return 2 numbers. I'll filter the table out beforehand to remove any numbers that are lower then the provided number
