nearest value question on stackoverflow