摘要:
When i run this script <script language="javascript">alert(34.97 * 100)alert(34.98 * 100)alert(34.99 * 100)alert(1.98 * 100)alert(1.99 * 100)</script>I get the following results 34973497.99999999999953499198199可以用toFixed(number)的方法,或者用下面修改的乘法函数 function mul(n1, n2) { var m=0, s 阅读全文