Solution to the text to number problem.