33 lines
839 B
JavaScript
33 lines
839 B
JavaScript
|
// numeral.js locale configuration
|
||
|
// locale : czech (cs)
|
||
|
// author : Anatoli Papirovski : https://github.com/apapirovski
|
||
|
|
||
|
(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', 'cs', {
|
||
|
delimiters: {
|
||
|
thousands: ' ',
|
||
|
decimal: ','
|
||
|
},
|
||
|
abbreviations: {
|
||
|
thousand: 'tis.',
|
||
|
million: 'mil.',
|
||
|
billion: 'b',
|
||
|
trillion: 't'
|
||
|
},
|
||
|
ordinal: function () {
|
||
|
return '.';
|
||
|
},
|
||
|
currency: {
|
||
|
symbol: 'Kč'
|
||
|
}
|
||
|
});
|
||
|
}));
|