#include
#include
#include
main(){
int i,j=0,k=1;
double qian,wan;
int hou;
char *q,*h,*p,chao1,chao2;
printf("please Input :");
scanf("%s",p);
for(i=0;*(p+i)!='\0';i++){
if(*(p+i)=='E'||*(p+i)=='e'){
k=2;
continue;
}
if(k==1){
*(q+i)=*(p+i);
}else{
*(h+j)=*(p+i); j++;
}
}
for(i=0,j=0;*(p+i)!='\0';i++){
if(*(p+i)=='.'){k=1;continue;}
if(k==1) j++;
if(j==7) chao1=*(p+i);
if(j==8){chao2=*(p+i); break;}
}
qian=atof(q);
hou=atoi(h);
wan=qian*pow(10,hou);
if(j==7) printf("results is %lf%c0",wan,chao1);
else if(j==8) printf("results is %lf%c%c",wan,chao1,chao2);
else printf("results is %lf00",wan);
getch();
}