Icard/angular-clarity-master(work.../node_modules/numeral/locales/nl-nl.js

34 lines
986 B
JavaScript

// numeral.js locale configuration
// locale : netherlands-dutch (nl-nl)
// author : Dave Clayton : https://github.com/davedx
(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', 'nl-nl', {
delimiters: {
thousands: '.',
decimal : ','
},
abbreviations: {
thousand : 'k',
million : 'mln',
billion : 'mrd',
trillion : 'bln'
},
ordinal : function (number) {
var remainder = number % 100;
return (number !== 0 && remainder <= 1 || remainder === 8 || remainder >= 20) ? 'ste' : 'de';
},
currency: {
symbol: '€ '
}
});
}));