JSFiddle - React, Tailwind, and code Playground by Frank Liu August 08, 2019 JavaScript var x = parseFloat(' 1.23 Year'); var x = x * 365; console.log(x);