What is wrong with this code:
char str = "123456789" ;
f = ( atof( str ) / 100 );
printf(" %f7.2", f);
It doesn't give me the desired result of 1234567.89
Please could you explain why this is and how I can achieve it.