Math.round(11.5)等于多少?Math.round(-11.5)等于多少?

答案解析

Math.round(11.5)等于12,Math.round(-11.5)等于-11,四舍五入到最接近的整数。