最赞回答 / 灿白
这个有点复杂了。其实按照代码简洁的方法:function math(x){ document.write(Math.ceil(x)+"<br>");}math(3.3);math(-0.1);math(-9.9);math(8.9);直接可以合并到一起。然后列出字符串,就行了
2014-11-04