forked from adamwdraper/Numeral-js
-
Notifications
You must be signed in to change notification settings - Fork 0
/
sk.js
32 lines (31 loc) · 832 Bytes
/
sk.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 : slovak (sk)
// author : Ahmed Al Hafoudh : http://www.freevision.sk
(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', 'sk', {
delimiters: {
thousands: ' ',
decimal: ','
},
abbreviations: {
thousand: 'tis.',
million: 'mil.',
billion: 'b',
trillion: 't'
},
ordinal: function () {
return '.';
},
currency: {
symbol: '€'
}
});
}));