Math.round(11.5)=12; Math.round(-11.5)=-11; [size=large][color=red]round方法返回与参数最接近的长整数。。[/color][/size]