JSFiddle - React, Tailwind, and code Playground
HTML
<table>
<tr><td>Number</td><td class = 'my_integer'>10000</td></tr>
<tr><td>Number2</td><td class = 'my_integer'>15000</td></tr>
<tr><td>Number3</td><td class = 'my_integer'>20000</td></tr>
</table>
JavaScript
$('.my_integer').each(function(){
content = $(this).html();
$(this).html(content+"formatted");
});