33 lines
853 B
JavaScript
33 lines
853 B
JavaScript
|
// numeral.js locale configuration
|
||
|
// locale : danish denmark (dk)
|
||
|
// author : Michael Storgaard : https://github.com/mstorgaard
|
||
|
|
||
|
(function (global, factory) {
|
||
|
if (typeof define === 'function' && define.amd) {
|
||
|
define(['../numeral'], factory);
|
||
|
} else if (typeof module === 'object' && module.exports) {
|
||
|
factory(require('../numeral'));
|
||
|
} else {
|
||
|
factory(global.numeral);
|
||
|
}
|
||
|
}(this, function (numeral) {
|
||
|
numeral.register('locale', 'da-dk', {
|
||
|
delimiters: {
|
||
|
thousands: '.',
|
||
|
decimal: ','
|
||
|
},
|
||
|
abbreviations: {
|
||
|
thousand: 'k',
|
||
|
million: 'mio',
|
||
|
billion: 'mia',
|
||
|
trillion: 'b'
|
||
|
},
|
||
|
ordinal: function (number) {
|
||
|
return '.';
|
||
|
},
|
||
|
currency: {
|
||
|
symbol: 'DKK'
|
||
|
}
|
||
|
});
|
||
|
}));
|