Say I have a 2D array with some data
that holds a resistance and what temperature that result gives.
Now I do a a calculation that gives me a resistance. But in my array i have not got that exact resistance.
So I need to find the nearest value.
Whats possible ways to find the nearest value in my array?