JSFiddle - React, Tailwind, and code Playground

by Frank Liu

JavaScript

var x = parseFloat('   1.23 Year');
var x = x * 365;
console.log(x);