convert string to a number test