TA贡献1条经验 获得超2个赞
double a=4.1239;
a = (int)(a*100+0.5)/100.0;//输出结果printf("%.2lf",a);
举报
购课补贴联系客服咨询优惠详情
慕课网APP您的移动学习伙伴
扫描二维码关注慕课网微信公众号