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

34 lines
857 B
JavaScript
Raw Normal View History

2024-07-16 14:55:36 +00:00
// numeral.js locale configuration
// locale : vietnam (vi)
// author : Harry Nguyen : https://github.com/thaihoa311
(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', 'vi', {
delimiters: {
thousands: '.',
decimal: ','
},
abbreviations: {
thousand: ' nghìn',
million: ' triệu',
billion: ' tỷ',
trillion: ' nghìn tỷ'
},
ordinal: function () {
return '.';
},
currency: {
symbol: '₫'
}
});
}));