UNPKG

993 BJavaScriptView Raw
1/*!
2 * numeral.js language configuration
3 * language : norwegian (bokmål)
4 * author : Ove Andersen : https://github.com/azzlack
5 */
6(function () {
7 var language = {
8 delimiters: {
9 thousands: ' ',
10 decimal: ','
11 },
12 abbreviations: {
13 thousand: 'k',
14 million: 'm',
15 billion: 'b',
16 trillion: 't'
17 },
18 ordinal: function (number) {
19 return '.';
20 },
21 currency: {
22 symbol: 'kr'
23 }
24 };
25
26 // Node
27 if (typeof module !== 'undefined' && module.exports) {
28 module.exports = language;
29 }
30 // Browser
31 if (typeof window !== 'undefined' && this.numeral && this.numeral.language) {
32 this.numeral.language('nb-no', language);
33 this.numeral.language('nn-no', language);
34 this.numeral.language('no', language);
35 this.numeral.language('nb', language);
36 this.numeral.language('nn', language);
37 }
38}());
\No newline at end of file