why doesnt this give me the float value that I need. How can I fix itCode:int main() { double x; char s[200]="22.453"; x=atof(s); printf("%lf",x); }
the atof function called I thought would take "22.453"
and get 22.453 and then let me put that into an integer.