/*! * numbro.js language configuration * language : Turkish * locale : Turkey * author : Ecmel Ercan : https://github.com/ecmel, * Erhan Gundogan : https://github.com/erhangundogan, * Burak Yiğit Kaya: https://github.com/BYK */ (function() { 'use strict'; var suffixes = { 1: '\'inci', 5: '\'inci', 8: '\'inci', 70: '\'inci', 80: '\'inci', 2: '\'nci', 7: '\'nci', 20: '\'nci', 50: '\'nci', 3: '\'üncü', 4: '\'üncü', 100: '\'üncü', 6: '\'ncı', 9: '\'uncu', 10: '\'uncu', 30: '\'uncu', 60: '\'ıncı', 90: '\'ıncı' }, language = { langLocaleCode: 'tr-TR', cultureCode: 'tr-TR', delimiters: { thousands: '.', decimal: ',' }, abbreviations: { thousand: 'bin', million: 'milyon', billion: 'milyar', trillion: 'trilyon' }, ordinal: function(number) { if (number === 0) { // special case for zero return '\'ıncı'; } var a = number % 10, b = number % 100 - a, c = number >= 100 ? 100 : null; return suffixes[a] || suffixes[b] || suffixes[c]; }, currency: { symbol: '\u20BA', 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));