JSFiddle - React, Tailwind, and code Playground

by DigitalBiscuits

HTML

<div id="test"></div>

JavaScript

totals.grand_total = "399.00";
$('<strong/>').html('€' + (+totals.grand_total).toFixed(2)).appendTo("#test");

//$("#test").html(value);