title: Calculate Pecentage in C#
body: <blockquote>
    <p><strong>Possible Duplicate:</strong><br>
    <a href="https://stackoverflow.com/questions/4585166/simple-division">Simple division</a>  </p>
  </blockquote>
  
  
  
  <p>I juz wanna ask how to represent this kind of math expression in C#</p>
  
  <p><strong>a/b*100.0</strong></p>
  
  <p>i try doing this. but it does not work as the percentage display this kind of value (19) not (19.00);</p>
  
  <pre><code>int gradeA;
  int students;
  int percentage;
  
  
  percentage = (gradeA/students*100.0);
  
  percentLabel.Text=Convert.ToString(percentage);
  </code></pre>
  
  <p>thanks in advance</p>