JSFiddle - React, Tailwind, and code Playground

HTML

<div>
<h1>0.119</h1>
<h2></h2>
<h3></h3>
</div>

<div>
<h1>55</h1>
<h2></h2>
<h3></h3>
</div>

<div>
<h1>0.9</h1>
<h2></h2>
<h3></h3>
</div>

<div>
<h1>57</h1>
<h2></h2>
<h3></h3>
</div>

CSS

div:nth-of-type(odd) {background:#eee}

JavaScript

$('div').each(function() {

    var self = $(this),
       	num = self.find('h1').text(),
		num = num / 100;

		self.find('h2').append(num);
        
    	// this should return the number to the original h1
		var num = num * 100;
    
		self.find('h3').append(num);

});