UNPKG

numbro

Version:

Format and manipulate numbers.

67 lines (62 loc) 1.55 kB
function getDefaultExportFromCjs (x) { return x && x.__esModule && Object.prototype.hasOwnProperty.call(x, 'default') ? x['default'] : x; } /*! * numbro.js language configuration * language : French * locale: Switzerland * author : Adam Draper : https://github.com/adamwdraper */ var frCH = { languageTag: "fr-CH", delimiters: { thousands: " ", decimal: "." }, abbreviations: { thousand: "k", million: "m", billion: "b", trillion: "t" }, ordinal: (number) => { return number === 1 ? "er" : "ème"; }, currency: { symbol: "CHF", position: "postfix", code: "CHF" }, currencyFormat: { thousandSeparated: true, totalLength: 4, spaceSeparated: true, spaceSeparatedCurrency: true, average: true }, formats: { fourDigits: { totalLength: 4, spaceSeparated: true, average: true }, fullWithTwoDecimals: { output: "currency", mantissa: 2, spaceSeparated: true, thousandSeparated: true }, fullWithTwoDecimalsNoCurrency: { mantissa: 2, thousandSeparated: true }, fullWithNoDecimals: { output: "currency", spaceSeparated: true, thousandSeparated: true, mantissa: 0 } } }; var frCH$1 = /*@__PURE__*/getDefaultExportFromCjs(frCH); export { frCH$1 as default };