博客园  :: 首页  :: 新随笔  :: 联系 :: 订阅 订阅  :: 管理

2011年10月14日

摘要: 01数据近似与舍入Math.ceil(x):比x大的最小值。Math.round(x):四舍五入。Math.floor(x):比x小的最大值。Math.round(x)返回long型,其余的返回double 型。 阅读全文

posted @ 2011-10-14 16:48 月不识己 阅读(142) 评论(0) 推荐(0) 编辑