大神看下错哪里了
<script type="text/javascript">
var num=[3.3,-0.1,-9.9,8.9];
for(var i=0 i<=num.length i++)
{
document.write(Math.ceil(num[i]));
}
</script>
<script type="text/javascript">
var num=[3.3,-0.1,-9.9,8.9];
for(var i=0 i<=num.length i++)
{
document.write(Math.ceil(num[i]));
}
</script>
2016-02-24
举报