保留小数点后几位小数的处理方法

例如:

printf("%.2lf",total/n);

posted on 2012-01-11 09:04  怡红公子  阅读(258)  评论(0)    收藏  举报