飞狐爷

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

2014年5月14日

摘要: 阅读全文
posted @ 2014-05-14 16:06 飞狐爷 阅读(123) 评论(0) 推荐(0) 编辑

摘要: oFixed() 方法可把 Number 四舍五入为指定小数位数的数字。在本例中,我们将把数字舍入为仅有一位小数的数字:Show the number 13.37 with one decimal:输出:Show the number 13.37 with one decimal:13.4 阅读全文
posted @ 2014-05-14 15:40 飞狐爷 阅读(265) 评论(0) 推荐(0) 编辑