JSFiddle - React, Tailwind, and code Playground

HTML

<div></div>

CSS

div {
    height: 100px;
    background: coral;
    width: 33.333333333333%;
}

JavaScript

var value = 1000 / 6,
    some_other_value = 2;

$('div').width(value / some_other_value);

// or should I round the output?

$('div').width(Math.round(value / some_other_value * 100) / 100);