title: C# The call is ambiguous between the following methods or properties: 'System.Math.Round(double, int)' and 'System.Math.Round(decimal, int)
body: <p>My code won't compile due to the error below:</p>
  
  <p>The call is ambiguous between the following methods or properties: 'System.Math.Round(double, int)' and 'System.Math.Round(decimal, int)</p>
  
  <p>My code is</p>
  
  <pre><code>Math.Round(new FileInfo(strFilePath).Length / 1024, 1)
  </code></pre>
  
  <p>How can I fix this?</p>
  
  <p>Thanks</p>