Code:
int main()
{
double x;
char s[200]="22.453";
x=atof(s);
printf("%lf",x);


}
why doesnt this give me the float value that I need. How can I fix it
the atof function called I thought would take "22.453"
and get 22.453 and then let me put that into an integer.