UNPKG

numbro

Version:

Format and manipulate numbers.

64 lines (59 loc) 1.43 kB
function getDefaultExportFromCjs (x) { return x && x.__esModule && Object.prototype.hasOwnProperty.call(x, 'default') ? x['default'] : x; } /*! * numbro.js language configuration * language : French * locale: Canada * author : Léo Renaud-Allaire : https://github.com/renaudleo */ var frCA = { languageTag: "fr-CA", delimiters: { thousands: " ", decimal: "," }, abbreviations: { thousand: "k", million: "M", billion: "G", trillion: "T" }, ordinal: (number) => { return number === 1 ? "er" : "ème"; }, spaceSeparated: true, currency: { symbol: "$", position: "postfix", code: "USD" }, currencyFormat: { thousandSeparated: true, totalLength: 4, spaceSeparated: true, average: true }, formats: { fourDigits: { totalLength: 4, spaceSeparated: true, average: true }, fullWithTwoDecimals: { thousandSeparated: true, mantissa: 2 }, fullWithTwoDecimalsNoCurrency: { mantissa: 2, thousandSeparated: true }, fullWithNoDecimals: { output: "currency", thousandSeparated: true, mantissa: 0 } } }; var frCA$1 = /*@__PURE__*/getDefaultExportFromCjs(frCA); export { frCA$1 as default };