Math.floor(11.3):11;Math.floor(-11.3):-12
Math.ceil(11.3):12;Math.ceil(-11.3):-11
Math.round(x)相当于Math.floor(x+0.5)
Math.round(11.3):11
Math.round(-11.8):-12
Math.floor(11.3):11;Math.floor(-11.3):-12
Math.ceil(11.3):12;Math.ceil(-11.3):-11
Math.round(x)相当于Math.floor(x+0.5)
Math.round(11.3):11
Math.round(-11.8):-12