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

35 lines
898 B
JavaScript

// numeral.js locale configuration
// locale : thai (th)
// author : Sathit Jittanupat : https://github.com/jojosati
(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', 'th', {
delimiters: {
thousands: ',',
decimal: '.'
},
abbreviations: {
thousand: 'พัน',
million: 'ล้าน',
billion: 'พันล้าน',
trillion: 'ล้านล้าน'
},
ordinal: function (number) {
return '.';
},
currency: {
symbol: '฿'
}
});
}));