title: How to restrict input number to non-decimal
body: <p>I have a number input on a page, and I want it restricted to whole number values, no decimals.  I am using forms and angularjs for validation.  What do I have to do to make decimals not allowed?  I tried setting step to 1, but this changed nothing.  Many other issues discuss getting browsers to support decimals - I seem to be having the opposite problem.</p>