I am taking an input from the user and want to remove letters from the string so that only the numbers are left and if there is a decimal, it is also left. This is my code:<