et.js 924 B

123456789101112131415161718192021222324252627282930313233
  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. (function (global, factory) {
  6. if (typeof define === 'function' && define.amd) {
  7. define(['../numeral'], factory);
  8. } else if (typeof module === 'object' && module.exports) {
  9. factory(require('../numeral'));
  10. } else {
  11. factory(global.numeral);
  12. }
  13. }(this, function (numeral) {
  14. numeral.register('locale', 'et', {
  15. delimiters: {
  16. thousands: ' ',
  17. decimal: ','
  18. },
  19. abbreviations: {
  20. thousand: ' tuh',
  21. million: ' mln',
  22. billion: ' mld',
  23. trillion: ' trl'
  24. },
  25. ordinal: function (number) {
  26. return '.';
  27. },
  28. currency: {
  29. symbol: '€'
  30. }
  31. });
  32. }));