JSFiddle - React, Tailwind, and code Playground
by fiddleyetu
JavaScript
tmp = '0.00'; console.log( tmp );
tmp = (+tmp + 8).toFixed(2); console.log( tmp );
tmp = (+tmp + 5).toFixed(2); console.log( tmp );
by fiddleyetu
tmp = '0.00'; console.log( tmp );
tmp = (+tmp + 8).toFixed(2); console.log( tmp );
tmp = (+tmp + 5).toFixed(2); console.log( tmp );