- <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
毒毒 閱讀(344)
評論(0) 編輯 收藏 所屬分類:
javascript