JSFiddle - React, Tailwind, and code Playground

JavaScript

var num = 77.475;
var round = (Math.round( num * 100 ) / 100).toFixed(2);
alert(round);