JSFiddle - React, Tailwind, and code Playground

by David Underwood

JavaScript

var highestValue = "3";
var h = (parseInt((highestValue / 10).toString()) + 1); // calculating the multiplier
var i = Math.floor((highestValue / 10) + 1);

console.log(h);
console.log(i);