GE HealthCare interview question

Convert string to number. Pretty easy question.