title: C# Double Rounding
body: <p>I'm currently working on a program and im converting my java code into c# . but i'm having some trouble.</p>
  
  <pre><code>public double round(double value){
          BigDecimal b = new BigDecimal(value);
          b = b.setScale(2,BigDecimal.ROUND_UP);
          return (b.doubleValue());
      }
  </code></pre>
  
  <p>i wrote this converting code but i cant convert it to c#.BigDecimal type causes some problem and im totally new to .Net.Definitely need some help.</p>
  
  <p>Edit : Ok buds i got it , sorry for the dumb question. </p>