console.log((Math.round(3 * 100) / 100).toFixed(2));
console.log((Math.round(982 * 100) / 100).toFixed(2));
console.log((Math.round(3.14159 * 100) / 100).toFixed(2));
console.log((Math.round(182.789 * 100) / 100).toFixed(2));
/*
run:
"3.00"
"982.00"
"3.14"
"182.79"
*/