Округление по мат.правилам
result =Math.round(3.5)
Округление к верхнему
result =Math.ceil(3.5)
Округление к нижнему
result =Math.floor(3.5)