摘要: 原文地址:http://www.cnblogs.com/xiaofengfeng/archive/2010/11/20/1882372.html 1.只要求保留N位不四舍5入 float f = 0.55555f; int i =(int)(f * 100); f = (float)(i*1.0)/ 阅读全文
posted @ 2017-01-05 16:55 吖然-jronny 阅读(121) 评论(0) 推荐(0) 编辑