nl-NL.js 1.4 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950
  1. /*!
  2. * numbro.js language configuration
  3. * language : Dutch
  4. * locale: Netherlands
  5. * author : Dave Clayton : https://github.com/davedx
  6. */
  7. (function () {
  8. 'use strict';
  9. var language = {
  10. langLocaleCode: 'nl-NL',
  11. cultureCode: 'nl-NL',
  12. delimiters: {
  13. thousands: '.',
  14. decimal : ','
  15. },
  16. abbreviations: {
  17. thousand : 'k',
  18. million : 'mln',
  19. billion : 'mrd',
  20. trillion : 'bln'
  21. },
  22. ordinal : function (number) {
  23. var remainder = number % 100;
  24. return (number !== 0 && remainder <= 1 || remainder === 8 || remainder >= 20) ? 'ste' : 'de';
  25. },
  26. currency: {
  27. symbol: '€',
  28. position: 'postfix'
  29. },
  30. defaults: {
  31. currencyFormat: ',4 a'
  32. },
  33. formats: {
  34. fourDigits: '4 a',
  35. fullWithTwoDecimals: ',0.00 $',
  36. fullWithTwoDecimalsNoCurrency: ',0.00',
  37. fullWithNoDecimals: ',0 $'
  38. }
  39. };
  40. // CommonJS
  41. if (typeof module !== 'undefined' && module.exports) {
  42. module.exports = language;
  43. }
  44. // Browser
  45. if (typeof window !== 'undefined' && window.numbro && window.numbro.culture) {
  46. window.numbro.culture(language.cultureCode, language);
  47. }
  48. }.call(typeof window === 'undefined' ? this : window));