You can also try this Script
function isNumberKey(evt) {
var charCode = (evt.which) ? evt.which : event.keyCode
if (event.which != 45 && (event.which != 46 || $(this).val().indexOf('.') != -1) && (event.which < 48 || event.which > 57))
return false;
return true;
}
The above script accepts "Only Numbers" with a "DOT".
Rimi