JSFiddle - React, Tailwind, and code Playground by Eugene Vilder April 14, 2021 JavaScript const a = 10460.45; const b = 1000; var num = (a / b).toFixed(); console.log(num);