Examples:
Modules:
find_nearest()
Profiling:
Links:
Versions:
Return the element in array closest to value
array
value
>>> find_nearest([1,7,6,2] , 1.9) 2