$.fn.turkLirasi=function(options){var settings=$.extend({allowedDecimal:true,maxDecimalCount:2,autoFillDecimal:true,suffix:'TL',formatted:true,autoSelect:true,align:'right',_eventAfterSet:false,_eventFocusOut:false,debug:false},options);var number_format=function(number,decimals,dec_point,thousands_sep){number=(number+'').replace(/[^0-9+\-Ee.]/g,'');var n=!isFinite(+number)?0:+number,prec=!isFinite(+decimals)?0:Math.abs(decimals),sep=(typeof thousands_sep==='undefined')?',':thousands_sep,dec=(typeof dec_point==='undefined')?'.':dec_point,s='',toFixedFix=function(n,prec){var k=Math.pow(10,prec);return''+Math.round(n*k)/k};s=(prec?toFixedFix(n,prec):''+Math.round(n)).split('.');if(s[0].length>3){s[0]=s[0].replace(/\B(?=(?:\d{3})+(?!\d))/g,sep)}if((s[1]||'').length=48&&key<=57)||(key>=96&&key<=105)){checkSelectAll(activeElement);var realValue=checkValue(activeElement.data('value'));var sections=realValue.split(',');if(getDecimalPoint(activeElement)){if(typeof sections[1]!='undefined'&§ions[1].length==options.maxDecimalCount){return false}}if(key>=48&&key<=57){realValue=realValue+String.fromCharCode(e.keyCode)}else{var values={96:"0",97:"1",98:"2",99:"3",100:"4",101:"5",102:"6",103:"7",104:"8",105:"9"};realValue=realValue+values[key]}realValue=completeValue(realValue);setValue(activeElement,realValue);log(activeElement,activeElement.data())}else{return false}return false})})};