<input type=text onkeypress="return /\d/.test(String.fromCharCode(event.keyCode))||(this.value.indexOf('.')<0?event.keyCode==46:false)" onpaste="return !clipboardData.getData('text').match(/\D/)" ondragenter="return false" style="ime-mode:disabled">
//特殊用途