JSFiddle - React, Tailwind, and code Playground

by neonms92

HTML

<div>
</div>

JavaScript

Number.prototype.formatPercent = function (number, decimals) {
    return number;
};
$('div').append((1).formatPercent());