nl-nl.js 986 B

123456789101112131415161718192021222324252627282930313233
  1. // numeral.js locale configuration
  2. // locale : netherlands-dutch (nl-nl)
  3. // author : Dave Clayton : https://github.com/davedx
  4. (function (global, factory) {
  5. if (typeof define === 'function' && define.amd) {
  6. define(['../numeral'], factory);
  7. } else if (typeof module === 'object' && module.exports) {
  8. factory(require('../numeral'));
  9. } else {
  10. factory(global.numeral);
  11. }
  12. }(this, function (numeral) {
  13. numeral.register('locale', 'nl-nl', {
  14. delimiters: {
  15. thousands: '.',
  16. decimal : ','
  17. },
  18. abbreviations: {
  19. thousand : 'k',
  20. million : 'mln',
  21. billion : 'mrd',
  22. trillion : 'bln'
  23. },
  24. ordinal : function (number) {
  25. var remainder = number % 100;
  26. return (number !== 0 && remainder <= 1 || remainder === 8 || remainder >= 20) ? 'ste' : 'de';
  27. },
  28. currency: {
  29. symbol: '€ '
  30. }
  31. });
  32. }));