2017年1月12日

Math函数

摘要: 1、向上进位取整。Math.Ceiling 例如: Math.Ceiling(32.6)=33; Math.Ceiling(32.0)=32; 2、向下舍位取整。Math.Floor 例如: Math.Floor(32.6)=32; 3、取指定位数的小数。Math.Round 例如:Math.Rou 阅读全文

posted @ 2017-01-12 17:54 Frank- 阅读(190) 评论(0) 推荐(0) 编辑

导航