In reply to Re: find closest element of array without going over by pjotrik in thread find closest element of array without going over by sadfaceman