JSFiddle - React, Tailwind, and code Playground

JavaScript

alert(parseFloat('4.2.2'));