. . "You need to add code to test if the String is empty BEFORE trying to convert it to a number." . .