以下代码:var num = 2.83265; alert(Math.round(num)); alert(Math.ceil(num)); 输出结果依次为:
A.3; 3
B.2; 2
C.3; 2
D.2;3
正确答案是A