你试试这样,int temp =(int)(res *100+0.5f);res =(float)temp /100;
点赞 1

相关推荐

FieldMatching:看成了猪头顾问,不好意思
点赞 评论 收藏
分享
牛客网
牛客企业服务