JSFiddle - React, Tailwind, and code Playground by nevkatz March 25, 2022 JavaScript let n = 4; console.log(parseFloat(n).toFixed(0));