I have an adress table and I need to take the near number. For example if I´m entenring the number 256 in this case I´ll take 257 because:
 254<--256->257

Somebody knows the solution.

Thanks and sorry for my bad English.