| 12345678910111213141516171819202122232425262728293031323334 |
- // 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: '฿'
- }
- });
- }));
|