numbro
Version:
Format and manipulate numbers.
64 lines (59 loc) • 1.46 kB
JavaScript
function getDefaultExportFromCjs (x) {
return x && x.__esModule && Object.prototype.hasOwnProperty.call(x, 'default') ? x['default'] : x;
}
/*!
* numbro.js language configuration
* language : Swedish
* locale : Sweden
* author : Benjamin Van Ryseghem (benjamin.vanryseghem.com)
*/
var svSE = {
languageTag: "sv-SE",
delimiters: {
thousands: " ",
decimal: ","
},
abbreviations: {
thousand: "t",
million: "M",
billion: "md",
trillion: "tmd"
},
ordinal: () => "",
currency: {
symbol: "kr",
position: "postfix",
code: "SEK"
},
currencyFormat: {
thousandSeparated: true,
totalLength: 4,
spaceSeparated: 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 svSE$1 = /*@__PURE__*/getDefaultExportFromCjs(svSE);
export { svSE$1 as default };