1
0
Fork 0
arangodb/js/node/node_modules/numeral/languages/th.js

35 lines
859 B
JavaScript

/*!
* numeral.js language configuration
* language : thai (th)
* author : Sathit Jittanupat : https://github.com/jojosati
*/
(function () {
var language = {
delimiters: {
thousands: ',',
decimal: '.'
},
abbreviations: {
thousand: 'พัน',
million: 'ล้าน',
billion: 'พันล้าน',
trillion: 'ล้านล้าน'
},
ordinal: function (number) {
return '.';
},
currency: {
symbol: '฿'
}
};
// Node
if (typeof module !== 'undefined' && module.exports) {
module.exports = language;
}
// Browser
if (typeof window !== 'undefined' && this.numeral && this.numeral.language) {
this.numeral.language('th', language);
}
}());