2008年5月12日 星期一

convert float to string

char str[20] = "";
float f = 0.00000000000000000000001;
sprintf(str, "%f", f);

沒有留言: