title: How to pass decimal value to Action method
body: <p>I have following Action methods</p>
  
  <pre><code>public ViewResult Index()
  public ActionResult Edit(decimal id)
  </code></pre>
  
  <p>When user clicks on Edit link, I want to invoke the <code>Edit</code> Action. Following is the sample code snippet</p>
  
  <pre><code>&lt;td&gt;
      @Html.ActionLink("Edit", "Edit", new { id=item.ItemID }) |
      @Html.ActionLink("Details", "Details", new { id=item.ItemID }) |
      @Html.ActionLink("Delete", "Delete", new { id= item.ItemID})
  &lt;/td&gt;
  </code></pre>
  
  <p>The URL it redirects to is <code>http://MyServer/Orders/Details/0.020</code></p>
  
  <p>With this URL my action method does not invoke. If I manually edit the URL to remove "." then my method gets call.</p>
  
  <p>My question is what is the right way to pass the decimal value to invoke the Action method?</p>