JSFiddle - React, Tailwind, and code Playground

by charlescarver

JavaScript

var num = 0.01;
var num = (num.toFixed(2) + 5) * 10;
var num = (num.toFixed(2) + 7) * 10;

alert(num);