关于自动四舍五入

//printf("%.1f\n", 0.05);//自动四舍五入输出0.1
    //printf("%.1f\n", 0.04);//自动四舍五入输出0.0
    //printf("%.1f\n", -0.04);//自动四舍五入输出-0.0

posted on 2018-09-20 14:13  lunatic6  阅读(235)  评论(0)    收藏  举报

导航