UNPKG

numbro

Version:

Format and manipulate numbers.

58 lines (56 loc) 1.32 kB
/*! * numbro.js language configuration * language : German * locale: Switzerland * author : Michael Piefel : https://github.com/piefel (based on work from Marco Krage : https://github.com/sinky) */ module.exports = { languageTag: "de-CH", delimiters: { thousands: "’", decimal: "." }, abbreviations: { thousand: "k", million: "m", billion: "b", trillion: "t" }, ordinal: function() { return "."; }, currency: { symbol: "CHF", position: "postfix", code: "CHF" }, 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 } } };