Math.round() fonksiyonunu kullanarak yuvarlayabilirsiniz hocam.

örnek



Math.round(7.5);

veya

var sayi = 7.5;

Math.round(sayi);