Math.round in node js code example Example: math.round in javascript let xo =7.45; xo = Math.round(xo); // output = 7;