JSFiddle - React, Tailwind, and code Playground by Vladymyr Shevchuk October 22, 2018 Babel + JSX const string = '123123.123123123'; console.log(parseFloat(string, 4));