摘要:
<script language="JavaScript">function round(v,e) { var t=1; e=Math.round(e); for(;e>0;t*=10,e--); for(;e<0;t/=10,e++); return Math.round(v*t)/t; } alert(round(12.3456,2));//12.35&l... 阅读全文
posted @ 2008-08-24 11:32
RobotTech
阅读(1127)
评论(1)
推荐(0)

浙公网安备 33010602011771号