JSFiddle - React, Tailwind, and code Playground
HTML
<div id="test"></div>
JavaScript
totals.grand_total = "399.00";
$('<strong/>').html('€' + (+totals.grand_total).toFixed(2)).appendTo("#test");
//$("#test").html(value);
<div id="test"></div>
totals.grand_total = "399.00";
$('<strong/>').html('€' + (+totals.grand_total).toFixed(2)).appendTo("#test");
//$("#test").html(value);