Convert some strings to numbers