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

33 lines
852 B
JavaScript
Raw Normal View History

2024-07-16 14:55:36 +00:00
// numeral.js locale configuration
// locale : simplified chinese (chs)
// author : badplum : https://github.com/badplum
(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', 'chs', {
delimiters: {
thousands: ',',
decimal: '.'
},
abbreviations: {
thousand: '千',
million: '百万',
billion: '十亿',
trillion: '兆'
},
ordinal: function (number) {
return '.';
},
currency: {
symbol: '¥'
}
});
}));