title: MVC Number Input Being Treated as null
body: <p>Using a form (with <code>Html.BeginForm</code>), I have an <code>input</code> with type <code>number</code>. When I submit it like so:</p>
  
  <p><img src="https://i.stack.imgur.com/OFV5m.png" alt="input type number"></p>
  
  <p>I get the following error:</p>
  
  <blockquote>
    <p>The parameters dictionary contains a null entry for parameter
    'AmountOnHand' of non-nullable type 'System.Int32' for method
    'System.Web.Mvc.ActionResult Ingredient(Int32, System.String, Int32,
    System.String)' in 'BrewReport.Web.Controllers.AdminController'. An
    optional parameter must be a reference type, a nullable type, or be
    declared as an optional parameter. Parameter name: parameters</p>
  </blockquote>
  
  <p>The form (simplified) is as follows:</p>
  
  <pre><code>@using (Html.BeginForm("Ingredient", "Admin", FormMethod.Post, new { enctype = "multipart/form-data" }))
  {
  &lt;input id="AmountOnHand" type="number" class="form-control" min="0" required="required" /&gt;
  &lt;input type="submit" class="btn btn-primary btn-lg" value="Save Changes to Ingredient" /&gt;
  }
  </code></pre>
  
  <p>Here is the controller method:</p>
  
  <pre><code>[HttpPost]
  public ActionResult CreateIngredient(string ingredientName, decimal amountOnHand, string measurementUnit)
  {
      IngredientsData.SaveIngredient(ingredientName, amountOnHand, measurementUnit);
      return RedirectToAction("ManageIngredients");
  }
  </code></pre>