c/c++ double的数字 转成字符串后 可以有效的避免精度要求不高的数

char n[100];

sprintf(n,"%lf",db);

posted @ 2014-12-12 16:28  keyboard3  阅读(308)  评论(0编辑  收藏  举报