title: Ambiguous between methods or properties in C# .NET
body: <pre><code>int n = 5;
  int quorum = Math.Floor(n / 2) + 1;
  </code></pre>
  
  <p>I'm expecting quorum to have value 3. But this is the error I get in VisualStudio:</p>
  
  <blockquote>
    <p>The call is ambiguous between the following methods or properties: 'System.Math.Floor(double)' and 'System.Math.Floor(decimal)'</p>
  </blockquote>
  
  <p>How do I correct it? Where did I go wrong?</p>