JSFiddle - React, Tailwind, and code Playground by Matt Ball March 15, 2011 JavaScript var i = 50.00; alert(i.toFixed(2).toLocaleString() + ' €');