- <script language="javascript">
-
-
-
-
- function ForDight(Dight,How)
- {
- Dight = Math.round (Dight*Math.pow(10,How))/Math.pow(10,How);
- return Dight;
- }
- alert(ForDight(12345.67890,2));
- </script>
在
http://hitsnail.javaeye.com/blog/437066人的博客上看见的
posted on 2009-08-04 15:52
毒毒 阅读(335)
评论(0) 编辑 收藏 所属分类:
javascript