特殊输出

输出数字a,保留两位小数

1 #include <stdio.h>
2 double a;
3 printf("%.2f", a);

 

posted @ 2016-04-03 20:24  co0oder  阅读(151)  评论(0编辑  收藏  举报