Change the word 'number' to 'integer' in number field message
Change the word 'number' to 'integer' in number field message

The error message of number fields is different, some use 'integer', the other use 'number', it may be a good idea to change them to the same word.
Besides, I deduplicated the code that prevent user to input 'E' or 'e'

rsandell/jenkins,jenkinsci/jenkins,rsandell/jenkins,MarkEWaite/jenkins,viqueen/jenkins,v1v/jenkins,pjanouse/jenkins,daniel-beck/jenkins,v1v/jenkins,damianszczepanik/jenkins,damianszczepanik/jenkins,MarkEWaite/jenkins,MarkEWaite/jenkins,jenkinsci/jenkins,damianszczepanik/jenkins,MarkEWaite/jenkins,v1v/jenkins,jenkinsci/jenkins,damianszczepanik/jenkins,rsandell/jenkins,ikedam/jenkins,viqueen/jenkins,damianszczepanik/jenkins,v1v/jenkins,v1v/jenkins,damianszczepanik/jenkins,ikedam/jenkins,jenkinsci/jenkins,daniel-beck/jenkins,pjanouse/jenkins,rsandell/jenkins,jenkinsci/jenkins,pjanouse/jenkins,daniel-beck/jenkins,MarkEWaite/jenkins,rsandell/jenkins,v1v/jenkins,viqueen/jenkins,viqueen/jenkins,jenkinsci/jenkins,daniel-beck/jenkins,rsandell/jenkins,pjanouse/jenkins,ikedam/jenkins,MarkEWaite/jenkins,ikedam/jenkins,daniel-beck/jenkins,pjanouse/jenkins,rsandell/jenkins,viqueen/jenkins,damianszczepanik/jenkins,jenkinsci/jenkins,daniel-beck/jenkins,MarkEWaite/jenkins,rsandell/jenkins,v1v/jenkins,pjanouse/jenkins,daniel-beck/jenkins,daniel-beck/jenkins,pjanouse/jenkins,jenkinsci/jenkins,ikedam/jenkins,ikedam/jenkins,viqueen/jenkins,ikedam/jenkins,MarkEWaite/jenkins,damianszczepanik/jenkins,ikedam/jenkins,viqueen/jenkins