UNPKG

numbro

Version:

Format and manipulate numbers.

9 lines (8 loc) 819 B
!function(e,n){"object"==typeof exports&&"undefined"!=typeof module?module.exports=n():"function"==typeof define&&define.amd?define(n):((e="undefined"!=typeof globalThis?globalThis:e||self).numbro=e.numbro||{},e.numbro["en-IE"]=n())}(this,(function(){"use strict";function e(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e} /*! + * numbro.js language configuration * language : English * locale: Ireland * author : Tim McIntosh (StayinFront NZ) */return e({languageTag:"en-IE",delimiters:{thousands:",",decimal:"."},abbreviations:{thousand:"k",million:"m",billion:"b",trillion:"t"},ordinal:e=>{let n=e%10;return 1==~~(e%100/10)?"th":1===n?"st":2===n?"nd":3===n?"rd":"th"},currency:{symbol:"€",position:"prefix",code:"EUR"}})})); //# sourceMappingURL=en-IE.min.js.map