JSFiddle - React, Tailwind, and code Playground JavaScript var string = "144,444.00" alert(parseFloat(string.replace(',','')))