JSFiddle - React, Tailwind, and code Playground

JavaScript

a = "2.3";
result = parseFloat(a)+0.01
console.log(result);