How to round a number in JavaScript

Numbers
By Jad Joubran · 
Last updated Feb 18, 2020
const number = 4.7138;

Math.round(number);
5
Math.round on MDN