JSFiddle - React, Tailwind, and code Playground

by Matt Ball

JavaScript

var i = 50.00;
alert(i.toFixed(2).toLocaleString() + ' €');