Find out if a number is between two others