@quantlab/handsontable
Version:
Spreadsheet-like data grid editor that provides copy/paste functionality compatible with Excel/Google Docs
51 lines (48 loc) • 1.44 kB
JavaScript
/*!
* numbro.js language configuration
* language : Dutch
* locale: Belgium
* author : Dieter Luypaert : https://github.com/moeriki
*/
(function () {
'use strict';
var language = {
langLocaleCode: 'nl-BE',
cultureCode: 'nl-BE',
delimiters: {
thousands: ' ',
decimal : ','
},
abbreviations: {
thousand : 'k',
million : 'mln',
billion : 'mld',
trillion : 'bln'
},
ordinal : function (number) {
var remainder = number % 100;
return (number !== 0 && remainder <= 1 || remainder === 8 || remainder >= 20) ? 'ste' : 'de';
},
currency: {
symbol: '€',
position: 'postfix'
},
defaults: {
currencyFormat: ',4 a'
},
formats: {
fourDigits: '4 a',
fullWithTwoDecimals: ',0.00 $',
fullWithTwoDecimalsNoCurrency: ',0.00',
fullWithNoDecimals: ',0 $'
}
};
// CommonJS
if (typeof module !== 'undefined' && module.exports) {
module.exports = language;
}
// Browser
if (typeof window !== 'undefined' && window.numbro && window.numbro.culture) {
window.numbro.culture(language.cultureCode, language);
}
}.call(typeof window === 'undefined' ? this : window));