convert scan numbers to numeric