JSFiddle - React, Tailwind, and code Playground
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);
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);