Parse strings as numbers