husee3 adlı üyeden alıntı: mesajı görüntüle
<script>function doFiyat(e,f){if(f==""){e=parseInt(e)+""}else{if(f==" "){e=parseInt(e.replace(/ /g,""))+""}else{if(f=="."){e=parseInt(e.replace(/\./g,""))+""}else{if(f==","){e=parseInt(e.replace(/,/g,""))+""}}}}var c="";if(e.length>3){while(e.length>3){c=f+e.substr(e.length-3)+c;e=e.substr(0,e.length-3)}c=e+c}else{c=e}if(!c||c=="NaN"){c=""}return c}function print_number(f,e,g,c){var b=0;var a=(f+"").split(",");if(a[1]){b=doFiyat(a[0],".");if(parseFloat(a[1])>0){a[1]=a[1]+"0";a[1]=format_decimal(a[1]);b=b+"<sup><u>"+a[1]+"</u></sup>"}else{b=b+"<sup><u>00</u></sup>"}b=(g!=""?g+" ":"")+b+(c!=""?" "+c:"")}else{var h=(f+"").split(".");b=doFiyat(h[0],e);if(parseFloat(h[1])>0){h[1]=h[1]+"0";h[1]=format_decimal(h[1]);b=b+"<sup><u>"+h[1]+"</u></sup>"}else{b=b+"<sup><u>00</u></sup>"}b=(g!=""?g+" ":"")+b+(c!=""?" "+c:"")}return b}
function goodchars(c,a){var b,f;b=getkey(c);if(b==null){return true}f=String.fromCharCode(b);f=f.toLowerCase();a=a.toLowerCase();if(a.indexOf(f)!=-1){return true}if(b==null||b==0||b==8||b==9||b==13||b==27){return true}return false}function badchars(f,c,b){var a,h;a=getkey(f);if(a==null){return true}h=String.fromCharCode(a);h=h.toLowerCase();c=c.toLowerCase();if(a==null||a==0||a==8||a==9||a==13||a==27){return true}if(b==1){var g=/^[A-Za-z ı�ü�öçİ�����]+$/;if(g.test(h)==true){return true}}else{if(c.indexOf(h)==-1){return true}}return false}
</script>
<form action="" method="post">
<input name="fiyat" id="fiyat" onkeypress="return goodchars(event,'1234567890.');" onkeyup="this.value=doFiyat(this.value,'.');" onblur="" size="12"/>
</form>
sanırım istediğin bu
Tam olarak buydu .çok teşekkür ederim kardeş .eyvallah