-
Notifications
You must be signed in to change notification settings - Fork 922
/
Copy pathfa.js
32 lines (31 loc) · 889 Bytes
/
fa.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
// numeral.js locale configuration
// locale : farsi Iran (fa)
// author : Hamid Malek Mohammadi : https://github.com/hmmftg
(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', 'fa-ir', {
delimiters: {
thousands: '.',
decimal: '.'
},
abbreviations: {
thousand: 'هزار',
million: 'میلیون',
billion: 'میلیارد',
trillion: 'تریلیارد'
},
ordinal: function (number) {
return ''
},
currency: {
symbol: '﷼'
}
});
}));