title: Display Double value in a label
body: <p>The code something as below:</p>
  
  <pre><code>private double val1;
  private int val2 =9;
  private void displayValue()
  {
          val1 = (val2/100);
      text1.Text = val1.ToString("0.000");
  }
  </code></pre>
  
  <p>I am trying to display the val1 value (which actually should be 0.09) but I always get result "0.000" display in my text1. Someone please help me on how to convert this.</p>