33 lines
832 B
JavaScript
33 lines
832 B
JavaScript
// numeral.js locale configuration
|
|
// locale : slovak (sk)
|
|
// author : Ahmed Al Hafoudh : http://www.freevision.sk
|
|
|
|
(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', 'sk', {
|
|
delimiters: {
|
|
thousands: ' ',
|
|
decimal: ','
|
|
},
|
|
abbreviations: {
|
|
thousand: 'tis.',
|
|
million: 'mil.',
|
|
billion: 'b',
|
|
trillion: 't'
|
|
},
|
|
ordinal: function () {
|
|
return '.';
|
|
},
|
|
currency: {
|
|
symbol: '€'
|
|
}
|
|
});
|
|
}));
|