EvilSOB thanks for your feedback too about this.

printing this doesnot works on my pc..

float am=2.86270802130925;
printf("value is %f ",(double)am);

or

double am=2.86270802130925;
printf("value is %f ",am); goes with 8 decimals i guess only

or even this..

double am=2.86270802130925;
printf("value is %.20f ",am); // Forcing 20 decimals but the output when reach 7 decimals are wrong..


and of course this wont work.. because its just 6 decimals.

float value=2.862738448796;
str_for_float(test,value);
error(test);

Last edited by MMike; 08/17/09 11:27.