if(string[n]=='.'||string[n]=='0'||string[n]=='1'||string[n]=='2'||string[n]=='3'|| string[n]=='4'||string[n]=='5'||string[n]=='6'||string[n]=='7'||string[n]=='8'||string[n]=='9')