JSFiddle - React, Tailwind, and code Playground JavaScript var x = 0.15; alert(x.toFixed(40)); var y = x * x; alert(y.toFixed(40)); alert(y);