UNPKG

924 BJavaScriptView Raw
1// numeral.js locale configuration
2// locale : Estonian
3// author : Illimar Tambek : https://github.com/ragulka
4// Note: in Estonian, abbreviations are always separated from numbers with a space
5
6(function (global, factory) {
7 if (typeof define === 'function' && define.amd) {
8 define(['../numeral'], factory);
9 } else if (typeof module === 'object' && module.exports) {
10 factory(require('../numeral'));
11 } else {
12 factory(global.numeral);
13 }
14}(this, function (numeral) {
15 numeral.register('locale', 'et', {
16 delimiters: {
17 thousands: ' ',
18 decimal: ','
19 },
20 abbreviations: {
21 thousand: ' tuh',
22 million: ' mln',
23 billion: ' mld',
24 trillion: ' trl'
25 },
26 ordinal: function (number) {
27 return '.';
28 },
29 currency: {
30 symbol: '€'
31 }
32 });
33}));